# Performance in multilingual project with site content mount fallbacks

**URL:** <https://discourse.gohugo.io/t/performance-in-multilingual-project-with-site-content-mount-fallbacks/57586>\
**Category:** support\
**Created:** [September 25, 2026, 3:54pm UTC](https://discourse.gohugo.io/t/performance-in-multilingual-project-with-site-content-mount-fallbacks/57586 "2026-09-25T15:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcuspollio](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/marcuspollio/32/22781_2.png) [@marcuspollio](https://discourse.gohugo.io/u/marcuspollio)\
**Post date:** [September 25, 2026, 3:54pm UTC](https://discourse.gohugo.io/t/performance-in-multilingual-project-with-site-content-mount-fallbacks/57586/1 "2026-09-25T15:54:14Z")

</div>

We have a multilingual website project that uses [translation by directory](https://gohugo.io/content-management/multilingual/#translation-by-directory) and [site content mounts](https://gohugo.io/configuration/module/#sites). This allows to have “complete” languages sites, taking the default site content as fallback:

```yaml
#config/_default/module.yaml
mounts:
  - source: content/zh
    target: content
    sites:
      matrix:
        languages:
          - zh
  - source: content/en
    target: content
    sites:
      matrix:
        languages:
          - "*"

```

This works well, as users do not “traverse” site boundaries anymore (i.e. one navigates the Chinese website, and gets English content as fallback if Chinese is missing, while always staying on the Chinese site, so theme and other links are presented in Chinese if available).

Regarding translations management, we set a threshold of translated content needed before enabling newly added languages. But even with some guidelines, for many languages, the English fallback takes a large portion of the cake.

So the question is more about performance:  
on such heavy website projects (say a few thousand pages, a few dozen languages, and maybe even a second dimensions like versions), how to optimize when most of the content comes from the same sources (i.e. English content is used at \>90% for other language sites)?

Some rough stats on an old laptop (still faster than GitHub CI 😄)

| | EN | other langs |
| --- | --- | --- |
| Pages | 500 | 500 |
| Paginator pages | 100 | 100 |
| Non-page files | 500 | 0 |
| Static files | 10 | 10 |
| Processed images | 1000 | 0 |
| Aliases | 100 | 100 |
| Cleaned | 0 | 0 |

| Number of langs | Time ms |
| --- | --- |
| 1 (only English) | 1507 |
| 2 | 2508 |
| 5 | 5540 |
| 10 | 15327 |
| 20 | 25362 |

Where are possible improvements the most useful? Config, [optimisation of theme](https://gohugo.io/troubleshooting/performance/#template-metrics), content structure? Any tips and tricks?  
TIA!

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [September 25, 2026, 4:08pm UTC](https://discourse.gohugo.io/t/performance-in-multilingual-project-with-site-content-mount-fallbacks/57586/2 "2026-09-25T16:08:29Z")

</div>

> [@marcuspollio](#):
>
> Any tips and tricks?

This may not be an option for you, but you could have a look at the `sites.complements` option, e.g:

```yaml
mounts:
  - source: content/zh
    target: content
    sites:
      matrix:
        languages:
          - ar
  - source: content/en
    target: content
    sites:
      matrix:
        languages:
          - "en"
        complements:
          languages:
           - "*"

```

The above is totally untested, but the gist of it is that you only render the en pages once. All the `RelPermalink` etc. linking is handled. The downside is obvious, but may be an OK compromise.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [October 8, 2026, 8:55am UTC](https://discourse.gohugo.io/t/performance-in-multilingual-project-with-site-content-mount-fallbacks/57586/3 "2026-10-08T08:55:42Z")

</div>

Closed on October 8, 2026, 8:55am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
