Review main Merged Breaking

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

Benni Mack CR +2 V +2 Hard +471 −274 updated 02/15/22, 12:12

Commit message

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".

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 10