PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/wp-cache-config.php

https://github.com/AJenbo/ubuntudanmark.dk
PHP | 127 lines | 99 code | 13 blank | 15 comment | 13 complexity | cbdb260d689e22c855d71b09b37029a6 MD5 | raw file
  1. <?php
  2. /*
  3. WP-Cache Config Sample File
  4. See wp-cache.php for author details.
  5. */
  6. $wp_cache_home_path = '/'; //Added by WP-Cache Manager
  7. $wp_cache_preload_on = 0; //Added by WP-Cache Manager
  8. $wp_cache_preload_taxonomies = 0; //Added by WP-Cache Manager
  9. $wp_cache_preload_email_volume = 'less'; //Added by WP-Cache Manager
  10. $wp_cache_preload_email_me = 0; //Added by WP-Cache Manager
  11. $wp_cache_preload_interval = 0; //Added by WP-Cache Manager
  12. $wp_cache_preload_posts = 'all'; //Added by WP-Cache Manager
  13. $cache_schedule_interval = 'daily'; //Added by WP-Cache Manager
  14. $cache_gc_email_me = 0; //Added by WP-Cache Manager
  15. $wp_cache_make_known_anon = 0; //Added by WP-Cache Manager
  16. $wp_cache_mfunc_enabled = 0; //Added by WP-Cache Manager
  17. $wp_cache_no_cache_for_get = 0; //Added by WP-Cache Manager
  18. $wp_cache_disable_utf8 = 0; //Added by WP-Cache Manager
  19. $cache_time_interval = '18000'; //Added by WP-Cache Manager
  20. $cache_scheduled_time = '00:01'; //Added by WP-Cache Manager
  21. $cache_schedule_type = 'time'; //Added by WP-Cache Manager
  22. $cache_page_secret = '1e854f9be2f5770b82a526bce7bbb265'; //Added by WP-Cache Manager
  23. $cache_minify = true; //Added by WP-Cache Manager
  24. $wp_cache_mobile_groups = ''; //Added by WP-Cache Manager
  25. $wp_cache_mobile_prefixes = 'w3c , w3c-, acs-, alav, alca, amoi, audi, avan, benq, bird, blac, blaz, brew, cell, cldc, cmd-, dang, doco, eric, hipt, htc_, inno, ipaq, ipod, jigs, kddi, keji, leno, lg-c, lg-d, lg-g, lge-, lg/u, maui, maxo, midp, mits, mmef, mobi, mot-, moto, mwbp, nec-, newt, noki, palm, pana, pant, phil, play, port, prox, qwap, sage, sams, sany, sch-, sec-, send, seri, sgh-, shar, sie-, siem, smal, smar, sony, sph-, symb, t-mo, teli, tim-, tosh, tsm-, upg1, upsi, vk-v, voda, wap-, wapa, wapi, wapp, wapr, webc, winw, winw, xda , xda-'; //Added by WP-Cache Manager
  26. $wp_cache_refresh_single_only = '0'; //Added by WP-Cache Manager
  27. $wp_cache_mod_rewrite = 1; //Added by WP-Cache Manager
  28. $wp_cache_front_page_checks = 1; //Added by WP-Cache Manager
  29. $wp_supercache_304 = 0; //Added by WP-Cache Manager
  30. $wp_cache_slash_check = 1; //Added by WP-Cache Manager
  31. if ( ! defined('WPCACHEHOME') )
  32. define( 'WPCACHEHOME', WP_CONTENT_DIR . "/plugins/wp-super-cache/" ); //Added by WP-Cache Manager
  33. $cache_compression = 1; //Added by WP-Cache Manager
  34. $cache_enabled = true; //Added by WP-Cache Manager
  35. $super_cache_enabled = true; //Added by WP-Cache Manager
  36. $cache_max_time = 18000; //Added by WP-Cache Manager
  37. //$use_flock = true; // Set it true or false if you know what to use
  38. $cache_path = WP_CONTENT_DIR . '/cache/';
  39. $file_prefix = 'wp-cache-';
  40. $ossdlcdn = 0;
  41. // We want to be able to identify each blog in a WordPress MU install
  42. $blogcacheid = '';
  43. if( defined( 'VHOST' ) ) {
  44. $blogcacheid = 'blog'; // main blog
  45. if( constant( 'VHOST' ) == 'yes' ) {
  46. $blogcacheid = $_SERVER['HTTP_HOST'];
  47. } else {
  48. $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
  49. if( strpos( $request_uri, '/', 1 ) ) {
  50. if( $base == '/' ) {
  51. $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
  52. } else {
  53. $blogcacheid = str_replace( $base, '', $request_uri );
  54. $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
  55. }
  56. if ( '/' == substr($blogcacheid, -1))
  57. $blogcacheid = substr($blogcacheid, 0, -1);
  58. }
  59. $blogcacheid = str_replace( '/', '', $blogcacheid );
  60. }
  61. }
  62. // Array of files that have 'wp-' but should still be cached
  63. $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
  64. $cache_rejected_uri = array ( 0 => 'wp-.*\\.php', 1 => 'index\\.php', 2 => 'forum', ); //Added by WP-Cache Manager
  65. $cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider', 5 => 'Yandex' );
  66. $cache_rebuild_files = 1; //Added by WP-Cache Manager
  67. // Disable the file locking system.
  68. // If you are experiencing problems with clearing or creating cache files
  69. // uncommenting this may help.
  70. $wp_cache_mutex_disabled = 1; //Added by WP-Cache Manager
  71. // Just modify it if you have conflicts with semaphores
  72. $sem_id = 1536854303; //Added by WP-Cache Manager
  73. if ( '/' != substr($cache_path, -1)) {
  74. $cache_path .= '/';
  75. }
  76. $wp_cache_mobile = 0;
  77. $wp_cache_mobile_whitelist = 'Stand Alone/QNws';
  78. $wp_cache_mobile_browsers = '2.0 MMP, 240x320, 400X240, AvantGo, BlackBerry, Blazer, Cellphone, Danger, DoCoMo, Elaine/3.0, EudoraWeb, Googlebot-Mobile, hiptop, IEMobile, KYOCERA/WX310K, LG/U990, MIDP-2., MMEF20, MOT-V, NetFront, Newt, Nintendo Wii, Nitro, Nokia, Opera Mini, Palm, PlayStation Portable, portalmmm, Proxinet, ProxiNet, SHARP-TQ-GX10, SHG-i900, Small, SonyEricsson, Symbian OS, SymbianOS, TS21i-10, UP.Browser, UP.Link, webOS, Windows CE, WinWAP, YahooSeeker/M1A1-R2D2, iPhone, iPod, Android, BlackBerry9530, LG-TU915 Obigo, LGE VX, webOS, Nokia5800'; //Added by WP-Cache Manager
  79. // change to relocate the supercache plugins directory
  80. $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
  81. // set to 1 to do garbage collection during normal process shutdown instead of wp-cron
  82. $wp_cache_shutdown_gc = 0;
  83. $wp_super_cache_late_init = 0; //Added by WP-Cache Manager
  84. // uncomment the next line to enable advanced debugging features
  85. $wp_super_cache_advanced_debug = 0;
  86. $wp_super_cache_front_page_text = '';
  87. $wp_super_cache_front_page_clear = 0;
  88. $wp_super_cache_front_page_check = 0;
  89. $wp_super_cache_front_page_notification = '0';
  90. $wp_cache_object_cache = 0; //Added by WP-Cache Manager
  91. $wp_cache_anon_only = 0;
  92. $wp_supercache_cache_list = 0; //Added by WP-Cache Manager
  93. $wp_cache_debug_to_file = 0;
  94. $wp_super_cache_debug = 0;
  95. $wp_cache_debug_level = 5;
  96. $wp_cache_debug_ip = '';
  97. $wp_cache_debug_log = '';
  98. $wp_cache_debug_email = '';
  99. $wp_cache_pages[ "search" ] = 0;
  100. $wp_cache_pages[ "feed" ] = 0;
  101. $wp_cache_pages[ "category" ] = 0;
  102. $wp_cache_pages[ "home" ] = 0;
  103. $wp_cache_pages[ "frontpage" ] = 0;
  104. $wp_cache_pages[ "tag" ] = 0;
  105. $wp_cache_pages[ "archives" ] = 0;
  106. $wp_cache_pages[ "pages" ] = 0;
  107. $wp_cache_pages[ "single" ] = 0;
  108. $wp_cache_hide_donation = 0;
  109. $wp_cache_not_logged_in = 1; //Added by WP-Cache Manager
  110. $wp_cache_clear_on_post_edit = 1; //Added by WP-Cache Manager
  111. $wp_cache_hello_world = 0; //Added by WP-Cache Manager
  112. $wp_cache_mobile_enabled = 1; //Added by WP-Cache Manager
  113. $wp_cache_cron_check = 1; //Added by WP-Cache Manager