Skip to content
Commit e2ecd89e authored by Sascha Nowak's avatar Sascha Nowak Committed by Benni Mack
Browse files

[BUGFIX] Respect endtime of page when calculating the lifetime

When the endtime of a page is lower than the default lifetime (24h),
the calculation did not respect the endtime and set the lifetime to
default lifetime. This lead to cache entries with incorrect lifetimes.

The upper bound of the cache lifetime is now additionally clamped to
the endtime of the current page.

Resolves: #102525
Related: #102422
Releases: main, 12.4
Change-Id: I5e2c48fcfd237fb0eca130aba8812224368474ce
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81930


Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 594c1cd4
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