Actions
Feature #79053
closedPage cache tags not accessible from hooks
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-20
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
In class \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController, the $pageCacheTags attribute is protected. It is possible to add tags via "addCacheTags" method, but there is no getter, so it is not possible to read this value from hooks called in "generatePage_postProcessing".
Use cases :- Add cache tags to http headers for an external cache system like Varnish (contentPostProc-output hook)
- Use cache tags in search index to detect possible changes (pageIndexing hook)
Actions