Confirmed Editing a non-global master phrase rebuilds the global phrase cache

Painbaker

Well-known member
Licensed customer
Affected version
2.3.13
Phrase::_postSave() schedules rebuildLanguageCache() whenever phrase_text changes. That method calls LanguageRepository::rebuildGlobalPhraseCache(), which collects only master phrases marked global_cache. Editing the text of a non-global master phrase therefore rebuilds the cache with the same contents.
 
Back
Top Bottom