Property |
Type |
Description |
|
$cache_control |
|
Set false to hide the batcache info |
|
$cache_redirects |
|
Add headers here as name=>value or name=>array(values). These will be sent with every response from the cache. |
|
$cancel |
|
Set false to disable Last-Modified and Cache-Control headers |
|
$debug |
|
These headers will never be cached. Apply strtolower. |
|
$do |
|
|
|
$genlock |
|
|
|
$group |
|
..in this many seconds (zero to ignore this and use batcache immediately) |
|
$headers |
|
Array of functions for create_function. The return value is added to $unique above. |
|
$max_age |
|
This is the base configuration. You can edit these variables or move them into your wp-config.php file. |
|
$noskip_cookies |
|
Change this to cancel the output buffer. Use batcache_cancel(); |
|
$query |
|
Names of cookies - if they exist and the cache would normally be bypassed, don't bypass it |
|
$redirect_location |
|
This is set to the response code during a redirect. |
|
$redirect_status |
|
Set true to enable redirect caching. |
|
$remote |
|
Expire batcache items aged this many seconds (zero to disable batcache) |
|
$seconds |
|
.. (two or more) |
|
$times |
|
Zero disables sending buffers to remote datacenters (req/sec is never sent) |
|
$uncached_headers |
|
Is it ok to return stale cached response when updating the cache? |
|
$unique |
|
Name of memcached group. You can simulate a cache flush by changing this. |
|
$use_stale |
|
This is set to the redirect location. |
|
$vary |
|
If you conditionally serve different content, put the variable values here. |
|