AfterCacheableContentIsGeneratedEvent

final class \TYPO3\CMS\Frontend\Event\AfterCacheableContentIsGeneratedEvent

Event that allows to enhance or change content (also depending if caching is enabled).

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

disableCaching()

public disableCaching() : void

enableCaching()

public enableCaching() : void

getCacheIdentifier()

public getCacheIdentifier() : string

Return values

string

getRequest()

public getRequest() : ServerRequestInterface

Return values

ServerRequestInterface

isCachingEnabled()

public isCachingEnabled() : bool

Return values

bool
On this page