ConfigCacheHeaders Class Reference
[CacheHeaders]
CacheHeaders config options. More...
Public Attributes |
|
const | CACHE_POLICY = 'CACHEHEADER_CACHE_POLICY' |
Policy for cached ressources. |
|
const | RIGID_FRESHNESS = 'RIGID' |
Check for rigied freshness, that is force
the browser to check a page on each request. |
Detailed Description
CacheHeaders config options.
Every option can be set through the according APP_ constant, e.g. to define cache policy constant APP_CACHEHEADERS_CACHE_POLICY.
Definition at line 30 of file start.inc.php.
Member Data Documentation
const ConfigCacheHeaders::CACHE_POLICY = 'CACHEHEADER_CACHE_POLICY' |
Policy for cached ressources.
Cached means locally cached in DB or memory, not browser cached
Allowed values are
- ConfigCacheHeaders::RIGID_FRESHNESS: Browser will be forced to send always send a request. This is the default.
Definition at line 43 of file start.inc.php.
const ConfigCacheHeaders::RIGID_FRESHNESS = 'RIGID' |
Check for rigied freshness, that is force the browser to check a page on each request.
Definition at line 34 of file start.inc.php.
The documentation for this class was generated from the following file:
- contributions/page.cacheheaders/start.inc.php