AfterCachedPageIsPersistedEvent
Read onlyYes
FinalYes
Event that is used directly after all cached content is stored in the page cache.
NOT fired, if:
- A page is called from the cache
- Caching is disabled using 'frontend.cache.instruction' request attribute, which can be set by various middlewares or AfterCacheableContentIsGeneratedEvent
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
stringgetCacheLifetime()
The amount of seconds until the cache entry is invalid.
public
getCacheLifetime() : int
Return values
intgetController()
public
getController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllergetRequest()
public
getRequest() : ServerRequestInterface