ShouldUseCachedPageDataIfAvailableEvent

FinalYes

Event to allow listeners to disable the loading of cached page data when a page is requested.

Does not have any effect if caching is disabled, or if there is no cached version of a page.

Table of Contents

Methods

__construct()  : mixed
getController()  : TypoScriptFrontendController
getRequest()  : ServerRequestInterface
setShouldUseCachedPageData()  : void
shouldUseCachedPageData()  : bool

Methods

__construct()

public __construct(ServerRequestInterface $request, bool $shouldUseCachedPageData) : mixed
Parameters
$request : ServerRequestInterface
$shouldUseCachedPageData : bool

getRequest()

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

setShouldUseCachedPageData()

public setShouldUseCachedPageData(bool $shouldUseCachedPageData) : void
Parameters
$shouldUseCachedPageData : bool

shouldUseCachedPageData()

public shouldUseCachedPageData() : bool
Return values
bool

        
On this page

Search results