Commit ad3d93a
[BUGFIX] Correct cache lifetime calculation for pages
Page cache lifetime is calculated differently from
other records. The current implementation in
ContentObjectRenderer doesn’t account for this
difference, resulting in incorrect lifetime values.
It is ok to skip lifetime calculation for pages table
records in ContentObjectRenderer, details are added as
inline code comment.
Resolves: #107097
Releases: main, 13.4
Change-Id: I565b46c6efd7cfab148dc51187e08dd22d46a0ef
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/92026
Reviewed-by: Christian Kuhn <[email protected]>
Tested-by: Garvin Hicking <[email protected]>
Reviewed-by: Sascha Nowak <[email protected]>
Tested-by: Christian Kuhn <[email protected]>
Tested-by: Sascha Nowak <[email protected]>
Reviewed-by: Garvin Hicking <[email protected]>
Tested-by: core-ci <[email protected]>1 parent 23dc2ea commit ad3d93a
File tree
1 file changed
+8
-1
lines changed- typo3/sysext/frontend/Classes/ContentObject
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
520 | 527 | | |
521 | 528 | | |
522 | 529 | | |
| |||
0 commit comments