Project

General

Profile

Actions

Feature #79053

closed

Page cache tags not accessible from hooks

Added by Michel Tremblay almost 8 years ago. Updated over 5 years ago.

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)

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87066: TSFE->pageCacheTags is missing in __get() and misses a getterClosedDaniel Goerz2018-12-04

Actions
Actions

Also available in: Atom PDF