Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 76 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | WP-Cache Config Sample File |
| 4 | |
| 5 | See wp-cache.php for author details. |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined('WPCACHEHOME') ) |
| 9 | define( 'WPCACHEHOME', WP_PLUGIN_DIR . '/wp-super-cache/' ); |
| 10 | |
| 11 | $cache_compression = 0; // Super cache compression |
| 12 | $cache_enabled = false; |
| 13 | $super_cache_enabled = true; |
| 14 | $cache_max_time = 3600; //in seconds |
| 15 | //$use_flock = true; // Set it true or false if you know what to use |
| 16 | $cache_path = WP_CONTENT_DIR . '/cache/'; |
| 17 | $file_prefix = 'wp-cache-'; |
| 18 | $ossdlcdn = 0; |
| 19 | |
| 20 | // Array of files that have 'wp-' but should still be cached |
| 21 | $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' ); |
| 22 | |
| 23 | $cache_rejected_uri = array('wp-.*\\.php', 'index\\.php'); |
| 24 | $cache_rejected_user_agent = array(); |
| 25 | |
| 26 | $cache_rebuild_files = 1; |
| 27 | |
| 28 | // Disable the file locking system. |
| 29 | // If you are experiencing problems with clearing or creating cache files |
| 30 | // uncommenting this may help. |
| 31 | $wp_cache_mutex_disabled = 1; |
| 32 | |
| 33 | // Just modify it if you have conflicts with semaphores |
| 34 | $sem_id = 5419; |
| 35 | |
| 36 | if ( '/' != substr($cache_path, -1)) { |
| 37 | $cache_path .= '/'; |
| 38 | } |
| 39 | |
| 40 | $wp_cache_mobile = 0; |
| 41 | $wp_cache_mobile_whitelist = 'Stand Alone/QNws'; |
| 42 | $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'; |
| 43 | |
| 44 | // change to relocate the supercache plugins directory |
| 45 | $wp_cache_plugins_dir = WPCACHEHOME . 'plugins'; |
| 46 | // set to 1 to do garbage collection during normal process shutdown instead of wp-cron |
| 47 | $wp_cache_shutdown_gc = 0; |
| 48 | $wp_super_cache_late_init = 0; |
| 49 | |
| 50 | // uncomment the next line to enable advanced debugging features |
| 51 | $wp_super_cache_advanced_debug = 0; |
| 52 | $wp_super_cache_front_page_text = ''; |
| 53 | $wp_super_cache_front_page_clear = 0; |
| 54 | $wp_super_cache_front_page_check = 0; |
| 55 | $wp_super_cache_front_page_notification = '0'; |
| 56 | |
| 57 | $wp_cache_anon_only = 0; |
| 58 | $wp_supercache_cache_list = 0; |
| 59 | $wp_cache_debug_to_file = 0; |
| 60 | $wp_super_cache_debug = 0; |
| 61 | $wp_cache_debug_level = 5; |
| 62 | $wp_cache_debug_ip = ''; |
| 63 | $wp_cache_debug_log = ''; |
| 64 | $wp_cache_debug_email = ''; |
| 65 | $wp_cache_pages[ "search" ] = 0; |
| 66 | $wp_cache_pages[ "feed" ] = 0; |
| 67 | $wp_cache_pages[ "category" ] = 0; |
| 68 | $wp_cache_pages[ "home" ] = 0; |
| 69 | $wp_cache_pages[ "frontpage" ] = 0; |
| 70 | $wp_cache_pages[ "tag" ] = 0; |
| 71 | $wp_cache_pages[ "archives" ] = 0; |
| 72 | $wp_cache_pages[ "pages" ] = 0; |
| 73 | $wp_cache_pages[ "single" ] = 0; |
| 74 | $wp_cache_pages[ "author" ] = 0; |
| 75 | $wp_cache_hide_donation = 0; |
| 76 | $wp_cache_not_logged_in = 0; |
| 77 | $wp_cache_clear_on_post_edit = 0; |
| 78 | $wp_cache_hello_world = 0; |
| 79 | $wp_cache_mobile_enabled = 0; |
| 80 | $wp_cache_cron_check = 0; |
| 81 | $wp_cache_mfunc_enabled = 0; |
| 82 | $wp_cache_make_known_anon = 0; |
| 83 | $wp_cache_refresh_single_only = 0; |
| 84 | $wp_cache_mod_rewrite = 0; |
| 85 | $wp_supercache_304 = 0; |
| 86 | $wp_cache_front_page_checks = 0; |
| 87 | $wp_cache_disable_utf8 = 0; |
| 88 | $wp_cache_no_cache_for_get = 0; |
| 89 | $cache_scheduled_time = "00:00"; |
| 90 | $wp_cache_preload_interval = 600; |
| 91 | $cache_schedule_type = 'interval'; |
| 92 | $wp_cache_preload_posts = 0; |
| 93 | $wp_cache_preload_on = 0; |
| 94 | $wp_cache_preload_taxonomies = 0; |
| 95 | $wp_cache_preload_email_me = 0; |
| 96 | $wp_cache_preload_email_volume = 'none'; |
| 97 | $wp_cache_mobile_prefixes = ''; |
| 98 | $cached_direct_pages = array(); |
| 99 | $wpsc_served_header = false; |
| 100 | $cache_gc_email_me = 0; |
| 101 | $wpsc_save_headers = 0; |
| 102 | $cache_schedule_interval = 'daily'; |
| 103 | $wp_super_cache_comments = 1; |
| 104 | $wpsc_version = 169; |
| 105 | ?> |