Issue Feature New Orphaned

#106734Allow plugins to set storage pages and tables to consider for page cache lifetime

Andreas Kießling 05/20/25, 13:45 updated 04/21/26, 11:23

Description

As far is i can tell from the changelogs etc. this is not yet possible:

There is a TS config option to let the frontend rendering respect the visibility of records from specific tables when a page is rendered and put to cache: https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/TopLevelObjects/Config.html#confval-config-cache

One of my clients is using news plugins a lot to tease articles that relate to the current content. But if i want to influence the cache for these pages, i’d have to put all of them to the TypoScript config. Any newly created plugin then is also not take care of automatically —> thus i now configured the cache for all pages (even if they do not have a news plugin) to respect the visibility.

It would be great if a plugin / code could tell the frontend rendering to use table xyz from storage pages 1,2,3,recursive to be considered when the cache entry is created.
A plugin could surely take care of it all on its own and influence the cache timeout, but it would be great to have a simple api that mimics the behaviour of the TS setting

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Allow plugins to set storage pages and tables to consider for page cache lifetime Resolves: #106734 Releases: main