AfterCachedPageIsPersistedEvent

final class \TYPO3\CMS\Frontend\Event\AfterCachedPageIsPersistedEvent

Event that is used directly after all cached content is stored in the page cache.

If a page is called from the cache, this event is NOT fired. This event is also NOT FIRED when $TSFE->no_cache (or manipulated via AfterCacheableContentIsGeneratedEvent) is set.

Table of Contents

Methods

__construct()  : mixed
getCacheData()  : array
getCacheIdentifier()  : string
getCacheLifetime()  : int
The amount of seconds until the cache entry is invalid.
getController()  : TypoScriptFrontendController
getRequest()  : ServerRequestInterface

Methods

__construct()

public __construct(ServerRequestInterface $request, TypoScriptFrontendController $controller, string $cacheIdentifier, array $cacheData, int $cacheLifetime) : mixed

Parameters

$request : ServerRequestInterface
$controller : TypoScriptFrontendController
$cacheIdentifier : string
$cacheData : array
$cacheLifetime : int

getCacheData()

public getCacheData() : array

Return values

array

getCacheIdentifier()

public getCacheIdentifier() : string

Return values

string

getCacheLifetime()

The amount of seconds until the cache entry is invalid.

public getCacheLifetime() : int

Return values

int

getRequest()

public getRequest() : ServerRequestInterface

Return values

ServerRequestInterface
On this page