fix(config): only cache category names in the languages in use
The cache held the category names in all 96 app store languages (about 49 KB), while an instance typically uses one or two. Keep only English, the default language and the languages users have set, as the two-letter codes the lookup uses; on a Dutch instance this is about 1.3 KB. A user who switches to a language that is not cached yet sees English names until the cache is refreshed after a week, or right away when an admin saves the settings. The README mentions this.
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
### Fixed
|
||||
|
||||
- fix(config): store the app store category cache lazily with only the names, refresh it weekly and when the settings are saved, and load it only when categories are used
|
||||
- fix(config): store the app store category cache lazily with only the names in the languages in use, refresh it weekly and when the settings are saved, and load it only when categories are used
|
||||
- fix(admin): save all settings in one request so changes are not lost after the page reloads
|
||||
|
||||
## 6.2.0
|
||||
|
||||
Reference in New Issue
Block a user