Method | Description | |
---|---|---|
cache ( $id, $content ) | Cache contents and index it under the specified id. | |
fetch ( $id ) | Returns content from a cache. | |
generateContentId ( string $content ) | The content to generate the id for. | |
isFresh ( $id ) | Returns true if content is fresh and false if content should be cached. | |
remove ( $id ) | Remove cached content. |
public cache ( $id, $content ) |
public generateContentId ( string $content ) | ||
$content | string |
public isFresh ( $id ) |