blob: 71975ead86a7f359ca22e4e26ba9492ddf4c6da8 [file] [log] [blame]
<?php
/*
WP-Cache Config Sample File
See wp-cache.php for author details.
*/
$cache_enabled = true; //Added by WP-Cache Manager
$cache_max_time = 3600; //Added by WP-Cache Manager
//$use_flock = true; // Set it tru or false if you know what to use
$cache_path = ABSPATH . 'wp-content/cache/';
$file_prefix = 'wp-cache-';
$known_headers = array("Last-Modified", "Expires", "Content-Type", "X-Pingback", "ETag", "Cache-Control", "Pragma");
// Array of files that have 'wp-' but should still be cached
$cache_acceptable_files = array( 'wp-atom.php', 'wp-comments-popup.php', 'wp-commentsrss2.php', 'wp-links-opml.php', 'wp-locations.php', 'wp-rdf.php', 'wp-rss.php', 'wp-rss2.php');
$cache_rejected_uri = array('wp-');
$cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider');
// Just modify it if you have conflicts with semaphores
$sem_id = 5419;
if (!class_exists('CacheMeta')) {
class CacheMeta {
var $dynamic = false;
var $headers = array();
var $uri = '';
var $post = 0;
}
}
if ( '/' != substr($cache_path, -1)) {
$cache_path .= '/';
}
?>