Lazily parse translations
Closed this issue · 2 comments
jvoisin commented
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 would be nice to lazily load them in memory.
fguillot commented
Fine by me. Do you want to take a stab at it?