[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:Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Sascha Nowak <sascha.nowak@netlogix.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- .phpstorm.meta.php 2 additions, 0 deletions.phpstorm.meta.php
- typo3/sysext/adminpanel/Classes/Modules/CacheModule.php 4 additions, 1 deletiontypo3/sysext/adminpanel/Classes/Modules/CacheModule.php
- typo3/sysext/adminpanel/Classes/Modules/Debug/PageTitle.php 3 additions, 10 deletionstypo3/sysext/adminpanel/Classes/Modules/Debug/PageTitle.php
- typo3/sysext/adminpanel/Classes/Modules/Info/GeneralInformation.php 11 additions, 11 deletions...xt/adminpanel/Classes/Modules/Info/GeneralInformation.php
- typo3/sysext/adminpanel/Classes/Modules/PreviewModule.php 8 additions, 7 deletionstypo3/sysext/adminpanel/Classes/Modules/PreviewModule.php
- typo3/sysext/adminpanel/Classes/Modules/TsDebug/TypoScriptWaterfall.php 4 additions, 1 deletion...dminpanel/Classes/Modules/TsDebug/TypoScriptWaterfall.php
- typo3/sysext/adminpanel/Resources/Private/Templates/Modules/Info/General.html 4 additions, 0 deletions...nel/Resources/Private/Templates/Modules/Info/General.html
- typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php 3 additions, 2 deletions...ysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php
- typo3/sysext/core/Documentation/Changelog/13.0/Breaking-102621-MostTSFEMembersMarkedInternalOrRead-only.rst 1 addition, 0 deletions...aking-102621-MostTSFEMembersMarkedInternalOrRead-only.rst
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-102628-CacheInstructionMiddleware.rst 42 additions, 0 deletions...ngelog/13.0/Feature-102628-CacheInstructionMiddleware.rst
- typo3/sysext/frontend/Classes/Cache/CacheInstruction.php 71 additions, 0 deletionstypo3/sysext/frontend/Classes/Cache/CacheInstruction.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 additions, 2 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 49 additions, 69 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Event/AfterCacheableContentIsGeneratedEvent.php 1 addition, 1 deletion...d/Classes/Event/AfterCacheableContentIsGeneratedEvent.php
- typo3/sysext/frontend/Classes/Event/AfterCachedPageIsPersistedEvent.php 5 additions, 5 deletions...rontend/Classes/Event/AfterCachedPageIsPersistedEvent.php
- typo3/sysext/frontend/Classes/Event/ShouldUseCachedPageDataIfAvailableEvent.php 1 addition, 1 deletion...Classes/Event/ShouldUseCachedPageDataIfAvailableEvent.php
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php 5 additions, 2 deletions.../frontend/Classes/Middleware/BackendUserAuthenticator.php
- typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php 21 additions, 33 deletions...ext/frontend/Classes/Middleware/PageArgumentValidator.php
- typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php 19 additions, 13 deletions...d/Classes/Middleware/TypoScriptFrontendInitialization.php
Please register or sign in to comment