mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
While doing some profiling for #2900, I noticed that `miniflux.app/v2/internal/locale.LoadCatalogMessages` is responsible for more than 10% of the consumed memory. As most miniflux instances won't have enough diverse users to use all the available translations at the same time, it makes sense to load them on demand. The overhead is a single function call and a check in a map, per call to translation-related functions. |
||
---|---|---|
.. | ||
category.go | ||
enclosure.go | ||
entry.go | ||
entry_test.go | ||
feed.go | ||
subscription.go | ||
user.go | ||
validator.go | ||
validator_test.go |