web/wp-content/plugins/wp-super-cache/wp-cache-config-sample.php
changeset 194 32102edaa81b
parent 136 bde1974c263b
--- a/web/wp-content/plugins/wp-super-cache/wp-cache-config-sample.php	Thu Sep 16 15:45:36 2010 +0000
+++ b/web/wp-content/plugins/wp-super-cache/wp-cache-config-sample.php	Mon Nov 19 18:26:13 2012 +0100
@@ -1,79 +1,82 @@
-<?php
-/*
-WP-Cache Config Sample File
-
-See wp-cache.php for author details.
-*/
-
-if ( ! defined('WPCACHEHOME') )
-	define( 'WPCACHEHOME', WP_CONTENT_DIR . '/plugins/wp-super-cache/' );
-
-$cache_compression = 0; // Super cache compression
-$cache_enabled = false;
-$super_cache_enabled = false;
-$cache_max_time = 3600; //in seconds
-//$use_flock = true; // Set it true or false if you know what to use
-$cache_path = WP_CONTENT_DIR . '/cache/';
-$file_prefix = 'wp-cache-';
-
-// We want to be able to identify each blog in a WordPress MU install
-$blogcacheid = '';
-if( defined( 'VHOST' ) ) {
-	$blogcacheid = 'blog'; // main blog
-	if( constant( 'VHOST' ) == 'yes' ) {
-		$blogcacheid = $_SERVER['HTTP_HOST'];
-	} else {
-		$request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
-		if( strpos( $request_uri, '/', 1 ) ) {
-			if( $base == '/' ) {
-				$blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
-			} else {
-				$blogcacheid = str_replace( $base, '', $request_uri );
-				$blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
-			}
-			if ( '/' == substr($blogcacheid, -1))
-				$blogcacheid = substr($blogcacheid, 0, -1);
-		}
-		$blogcacheid = str_replace( '/', '', $blogcacheid );
-	}
-}
-
-// Array of files that have 'wp-' but should still be cached 
-$cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
-
-$cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
-$cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider', 5 => 'Yandex' );
-
-$cache_rebuild_files = 1;
-
-
-// Disable the file locking system.
-// If you are experiencing problems with clearing or creating cache files
-// uncommenting this may help.
-$wp_cache_mutex_disabled = 1;
-
-// Just modify it if you have conflicts with semaphores
-$sem_id = 5419;
-
-if ( '/' != substr($cache_path, -1)) {
-	$cache_path .= '/';
-}
-
-$wp_cache_mobile = 0;
-$wp_cache_mobile_whitelist = 'Stand Alone/QNws';
-$wp_cache_mobile_browsers = 'Android, 2.0 MMP, 240x320, AvantGo, BlackBerry, Blazer, Cellphone, Danger, DoCoMo, Elaine/3.0, EudoraWeb, hiptop, IEMobile, iPhone, iPod, KYOCERA/WX310K, LG/U990, MIDP-2.0, MMEF20, MOT-V, NetFront, Newt, Nintendo Wii, Nitro, Nokia, Opera Mini, Palm, Playstation Portable, portalmmm, Proxinet, ProxiNet, SHARP-TQ-GX10, Small, SonyEricsson, Symbian OS, SymbianOS, TS21i-10, UP.Browser, UP.Link, Windows CE, WinWAP';
-
-// gzip the first page generated for clients that support it.
-$wp_cache_gzip_first = 0;
-// change to relocate the supercache plugins directory
-$wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
-// set to 1 to do garbage collection during normal process shutdown instead of wp-cron
-$wp_cache_shutdown_gc = 0; 
-$wp_super_cache_late_init = 0;
-
-// uncomment the next line to enable advanced debugging features
-//$wp_super_cache_advanced_debug = 1;
-$wp_super_cache_front_page_check = 0;
-$wp_super_cache_front_page_clear = 0;
-$wp_super_cache_front_page_text = '';
-?>
+<?php
+/*
+WP-Cache Config Sample File
+
+See wp-cache.php for author details.
+*/
+
+if ( ! defined('WPCACHEHOME') )
+	define( 'WPCACHEHOME', WP_PLUGIN_DIR . '/wp-super-cache/' );
+
+$cache_compression = 0; // Super cache compression
+$cache_enabled = false;
+$super_cache_enabled = false;
+$cache_max_time = 3600; //in seconds
+//$use_flock = true; // Set it true or false if you know what to use
+$cache_path = WP_CONTENT_DIR . '/cache/';
+$file_prefix = 'wp-cache-';
+$ossdlcdn = 0;
+
+// Array of files that have 'wp-' but should still be cached 
+$cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
+
+$cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
+$cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider', 5 => 'Yandex' );
+
+$cache_rebuild_files = 1;
+
+// Disable the file locking system.
+// If you are experiencing problems with clearing or creating cache files
+// uncommenting this may help.
+$wp_cache_mutex_disabled = 1;
+
+// Just modify it if you have conflicts with semaphores
+$sem_id = 5419;
+
+if ( '/' != substr($cache_path, -1)) {
+	$cache_path .= '/';
+}
+
+$wp_cache_mobile = 0;
+$wp_cache_mobile_whitelist = 'Stand Alone/QNws';
+$wp_cache_mobile_browsers = 'Android, 2.0 MMP, 240x320, AvantGo, BlackBerry, Blazer, Cellphone, Danger, DoCoMo, Elaine/3.0, EudoraWeb, hiptop, IEMobile, iPhone, iPod, KYOCERA/WX310K, LG/U990, MIDP-2.0, MMEF20, MOT-V, NetFront, Newt, Nintendo Wii, Nitro, Nokia, Opera Mini, Palm, Playstation Portable, portalmmm, Proxinet, ProxiNet, SHARP-TQ-GX10, Small, SonyEricsson, Symbian OS, SymbianOS, TS21i-10, UP.Browser, UP.Link, Windows CE, WinWAP';
+
+// change to relocate the supercache plugins directory
+$wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
+// set to 1 to do garbage collection during normal process shutdown instead of wp-cron
+$wp_cache_shutdown_gc = 0; 
+$wp_super_cache_late_init = 0;
+
+// uncomment the next line to enable advanced debugging features
+$wp_super_cache_advanced_debug = 0;
+$wp_super_cache_front_page_text = '';
+$wp_super_cache_front_page_clear = 0;
+$wp_super_cache_front_page_check = 0;
+$wp_super_cache_front_page_notification = '0';
+
+$wp_cache_object_cache = 0;
+$wp_cache_anon_only = 0;
+$wp_supercache_cache_list = 0;
+$wp_cache_debug_to_file = 0;
+$wp_super_cache_debug = 0;
+$wp_cache_debug_level = 5;
+$wp_cache_debug_ip = '';
+$wp_cache_debug_log = '';
+$wp_cache_debug_email = '';
+$wp_cache_pages[ "search" ] = 0;
+$wp_cache_pages[ "feed" ] = 0;
+$wp_cache_pages[ "category" ] = 0;
+$wp_cache_pages[ "home" ] = 0;
+$wp_cache_pages[ "frontpage" ] = 0;
+$wp_cache_pages[ "tag" ] = 0;
+$wp_cache_pages[ "archives" ] = 0;
+$wp_cache_pages[ "pages" ] = 0;
+$wp_cache_pages[ "single" ] = 0;
+$wp_cache_pages[ "author" ] = 0;
+$wp_cache_hide_donation = 0;
+$wp_cache_not_logged_in = 0;
+$wp_cache_clear_on_post_edit = 0;
+$wp_cache_hello_world = 0;
+$wp_cache_mobile_enabled = 0;
+$wp_cache_cron_check = 0;
+?>