Skip to content
Snippets Groups Projects
Commit ab368ed2 authored by Benni Mack's avatar Benni Mack
Browse files

[!!!][FEATURE] Move Cache Lifetime Calculation into its own class

This change moves the logic for calculating
the max time for caching a frontend page into
a separate class.

In addition, the existing hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['get_cache_timeout']
is removed in favor of a new "ModifyCacheLifetimeForPageEvent".

Resolves: #96879
Releases: main
Change-Id: I4b3a7f3a2aa1cb0307ed021bb5344edfeab11e91
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73475


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent f8d96a0b
Branches
Tags
No related merge requests found
Showing
with 413 additions and 216 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