Class CHttpCacheFilter
CHttpCacheFilter implements http caching. It works a lot like COutputCache
as a filter, except that content caching is being done on the
client side.
- CComponent
- CFilter implements IFilter
- CHttpCacheFilter
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Da:Sourcerer <webmaster@dasourcerer.net>
Since: 1.1.11
Located at x2engine/framework/web/filters/CHttpCacheFilter.php
public
boolean
|
|
protected
integer|boolean
|
#
getLastModifiedValue( )
Gets the last modified value from either |
protected
string|boolean
|
#
getEtagValue( )
Gets the ETag out of either |
protected
boolean
|
|
protected
boolean
|
#
checkLastModified( integer $lastModified )
Checks if the last modified date supplied by the client is still up to date |
protected
|
|
protected
|
|
protected
|
filter(),
init(),
postFilter()
|
public
string|integer
|
$lastModified |
|
#
Timestamp for the last modification date. Must be either a string parsable by strtotime() or an integer representing a unix timestamp. |
public
string|callable
|
$lastModifiedExpression |
|
#
PHP Expression for the last modification date. If set, this takes precedence
over The PHP expression will be evaluated using A PHP expression can be any PHP code that has a value. To learn more about what an expression is, please refer to the php manual. |
public
mixed
|
$etagSeed |
|
#
Seed for the ETag. Can be anything that passes through serialize(). |
public
string|callable
|
$etagSeedExpression |
|
#
Expression for the ETag seed. If set, this takes precedence over The PHP expression will be evaluated using A PHP expression can be any PHP code that has a value. To learn more about what an expression is, please refer to the php manual. |
public
string
|
$cacheControl | 'max-age=3600, public' |
#
Http cache control headers. Set this to an empty string in order to keep this header from being sent entirely. |