프로퍼티 |
타입 |
설명 |
|
$cacheControlHeader |
|
the value of the Cache-Control HTTP header. If null, the header will not be sent. |
|
$enabled |
|
a value indicating whether this filter should be enabled. |
|
$etagSeed |
|
a PHP callback that generates the ETag seed string.
The callback's signature should be:
php
function ($action, $params)
where $action is the [[Action]] object that this filter is currently handling;
$params takes the value of [[params]]. The callback should return a string serving
as the seed for generating an ETag. |
|
$lastModified |
|
a PHP callback that returns the UNIX timestamp of the last modification time.
The callback's signature should be:
php
function ($action, $params)
where $action is the [[Action]] object that this filter is currently handling;
$params takes the value of [[params]]. The callback should return a UNIX timestamp. |
|
$params |
|
additional parameters that should be passed to the [[lastModified]] and [[etagSeed]] callbacks. |
|
$sessionCacheLimiter |
|
the name of the cache limiter to be set when session_cache_limiter()
is called. The default value is an empty string, meaning turning off automatic sending of cache headers entirely.
You may set this property to be public, private, private_no_expire, and nocache.
Please refer to session_cache_limiter()
for detailed explanation of these values.
If this property is null, then session_cache_limiter() will not be called. As a result,
PHP will send headers according to the session.cache_limiter PHP ini setting. |
|
$weakEtag |
|
whether to generate weak ETags.
Weak ETags should be used if the content should be considered semantically equivalent, but not byte-equal. |
|