AfterCacheableContentIsGeneratedEvent
FinalYes
Event that allows to enhance or change content (also depending on enabled caching).
Think of $this->isCachingEnabled() as the same as $TSFE->no_cache. Depending on disable or enabling caching, the cache is then not stored in the pageCache.
Table of Contents
Methods
- __construct() : mixed
- disableCaching() : void
- enableCaching() : void
- getCacheIdentifier() : string
- getController() : TypoScriptFrontendController
- getRequest() : ServerRequestInterface
- isCachingEnabled() : bool
Methods
__construct()
public
__construct(ServerRequestInterface $request, TypoScriptFrontendController $controller, string $cacheIdentifier, bool $usePageCache) : mixed
Parameters
- $request : ServerRequestInterface
- $controller : TypoScriptFrontendController
- $cacheIdentifier : string
- $usePageCache : bool
disableCaching()
public
disableCaching() : void
enableCaching()
public
enableCaching() : void
getCacheIdentifier()
public
getCacheIdentifier() : string
Return values
stringgetController()
public
getController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllergetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfaceisCachingEnabled()
public
isCachingEnabled() : bool