AfterCachedPageIsPersistedEvent

FinalYes

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<string|int, mixed>
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<string|int, mixed> $cacheData, int $cacheLifetime) : mixed
Parameters
$request : ServerRequestInterface
$controller : TypoScriptFrontendController
$cacheIdentifier : string
$cacheData : array<string|int, mixed>
$cacheLifetime : int

getCacheData()

public getCacheData() : array<string|int, mixed>
Return values
array<string|int, mixed>

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

Search results