events/Documentation/Features/Caching.rst
Daniel Siepmann a9f3f108e3
BREAKING: Change of vendor/namespace (#43)
The vendor was renamed from `wrm` to `werkraummedia`.
And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`.

That way all references to PHP classes as well as the package name
itself need to be adjusted.
2023-11-09 10:27:43 +01:00

760 B

single: caching

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:

  1. Upcoming midnight if midnight should be used.
  2. Start of each shown date if upcoming should be used.
  3. End of each shown date as fallback.

The corresponding code is WerkraumMedia\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.