2023-05-23 11:46:18 +02:00
|
|
|
.. index:: single: caching
|
2023-06-12 11:07:52 +02:00
|
|
|
.. _caching:
|
2023-05-23 11:46:18 +02:00
|
|
|
|
|
|
|
Caching
|
|
|
|
=======
|
|
|
|
|
|
|
|
The extension provides out of the box support for proper TYPO3 page caching.
|
|
|
|
|
|
|
|
Page Cache
|
|
|
|
----------
|
|
|
|
|
|
|
|
TYPO3 can cache the full page with a TTL (=time to live).
|
|
|
|
The TTL can be adjusted via configuration and code.
|
|
|
|
The extension uses the code to lower TTL if necessary.
|
|
|
|
|
|
|
|
The TTL of the extension is determined in the following way:
|
|
|
|
|
|
|
|
#. Upcoming midnight if midnight should be used.
|
|
|
|
|
|
|
|
#. Start of each shown date if upcoming should be used.
|
|
|
|
|
|
|
|
#. End of each shown date as fallback.
|
|
|
|
|
|
|
|
The corresponding code is ``Wrm\Events\Caching\PageCacheTimeout``.
|
|
|
|
|
|
|
|
That way the TTL of each page is not longer than the valid period for shown events,
|
|
|
|
leading to re-rendering of the page once an event might change.
|