View Issue Details

IDProjectCategoryView StatusLast Update
5908Composrcorepublic2024-08-29 15:50
ReporterPDStig Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary5908: 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
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

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