Skip to content
Snippets Groups Projects
Commit 0bdf6daa authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[FEATURE] FE cache information request attribute

Refactor TSFE->no_cache towards the new Request
attribute 'frontend.cache.instruction': This
attribute can be created by middlewares early
when they need to disable cache mechanics of
middlewares later in the stack.

The new construct *requires* a reason when caching
is disabled, and the disable instruction can be set
by multiple middlewares which can result in multiple
reasons being gathered. The admin panel now lists
any "cache has been disabled" reasons.

Resolves: #102628
Releases: main
Change-Id: I86584f17c5a90fe76923cfbf75c3b987da13fd95
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82073


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarSascha Nowak <sascha.nowak@netlogix.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 1c2b6a80
Branches
Tags
No related merge requests found
Showing
with 257 additions and 159 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment