View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5908 | Composr | core | public | 2024-08-29 15:50 | 2024-08-29 15:50 |
Reporter | PDStig | Assigned To | Guest | ||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 5908: Add lang prefix cache | ||||
Description | Add 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. | ||||
Tags | Roadmap: Over the horizon, Type: Performance | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||