In short: It would be handy if you could refer to a news page (additional contents) by title (combined with language) instead of only an identifier. And wouldnt it be nice to cache these pages that are (probably frequently) accessed via opac-main?
Title or code ?
Yes, that should be 'code' and 'lang'.
In the meantime 15326 was pushed with CMS pages via additional content. And we use code to look for CMS pages under 31385. What remains here, is caching selected pages.
What I could do, is: Add some get_from_cache and set_in_cache stuff around the code in AdditionalContents.pm for search, search_for_display, find_best_match. But it would not be very generic in that part of code. And at the same time it is quite tricky to cache searches if they are specific enough. Especially the part of clearing the cache again when some new records are added seems not trivial. So a bit dangerous?
Changed title, limiting scope. No feedback.
Closing