class PageCache implements FlushableInterface (View source)

Properties

static $library

Methods

deliver(PageCacheRecord $record)

No description

static 
getLibrary()

No description

shouldCheckCache(Request $req)

No description

outputCacheHeaders(Page $c)

No description

getCacheHeaders(Page $c)

No description

shouldAddToCache(PageView $v)

No description

getCacheKey($mixed)

No description

getRecord($mixed)

No description

set(Page $c, $content)

No description

purgeByRecord(PageCacheRecord $rec)

No description

purge(Page $c)

No description

flush()

Removes all values from the cache.

Details

deliver(PageCacheRecord $record)

Parameters

PageCacheRecord $record

static getLibrary()

shouldCheckCache(Request $req)

Parameters

Request $req

outputCacheHeaders(Page $c)

Parameters

Page $c

getCacheHeaders(Page $c)

Parameters

Page $c

shouldAddToCache(PageView $v)

Parameters

PageView $v

getCacheKey($mixed)

Parameters

$mixed

abstract getRecord($mixed)

Parameters

$mixed

abstract set(Page $c, $content)

Parameters

Page $c
$content

abstract purgeByRecord(PageCacheRecord $rec)

Parameters

PageCacheRecord $rec

abstract purge(Page $c)

Parameters

Page $c

abstract flush()

Removes all values from the cache.