View Issue Details

IDProjectCategoryView StatusLast Update
0005908Composrcorepublic2024-08-29 15:50
ReporterPatrick SchmalstigAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005908: Add lang prefix cache
DescriptionAdd cache files for language prefixes. For example, cache all the privilege strings in one file.

This will help reduce the need to require_all_lang and use up unnecessary memory in the process. We could do something like require_lang_prefix($prefix) instead, which will search for the cached file, or if it doesn't exist, require_all_lang and cache all the strings with that prefix.

Lang cache will need to be smart about this. When re-generating the cache for a specific ini file, it will need to update these special prefix files as well. But we don't want to just require_all_lang again. Instead, track each string to its file so we can dynamically update the prefix cache as specific lang files get re-cached.
TagsRoadmap: Over the horizon, Type: Performance
Time estimation (hours)
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-08-29 15:50 Patrick Schmalstig New Issue
2024-08-29 15:50 Patrick Schmalstig Tag Attached: Roadmap: Over the horizon
2024-08-29 15:50 Patrick Schmalstig Tag Attached: Type: Performance