From 88c2a9baa53f9a8f471de4aaf73373cb7cc88082 Mon Sep 17 00:00:00 2001 From: Raam Dev Date: Thu, 1 May 2014 10:43:34 -0400 Subject: [PATCH] Change default cache directory and HTML Compressor cache directory * Use `/cache/quick-cache/cache` for primary cache * Use `/cache/quick-cache/htmlc` for HTML Compressor cache See WebSharks/Quick-Cache#123 --- quick-cache-pro/quick-cache-pro.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quick-cache-pro/quick-cache-pro.inc.php b/quick-cache-pro/quick-cache-pro.inc.php index dafb4028..7ccfeb91 100644 --- a/quick-cache-pro/quick-cache-pro.inc.php +++ b/quick-cache-pro/quick-cache-pro.inc.php @@ -158,7 +158,7 @@ public function setup() 'cache_purge_term_other_enable' => '0', // `0|1`. 'allow_browser_cache' => '0', // `0|1`. - 'cache_dir' => $wp_content_dir_relative.'/cache/quick-cache', + 'cache_dir' => $wp_content_dir_relative.'/cache/quick-cache/cache', 'cache_max_age' => '7 days', // `strtotime()` compatible. 'when_logged_in' => '0', // `0|1|postload`. @@ -178,8 +178,8 @@ public function setup() 'htmlc_js_exclusions' => '.php?', // Empty string or line-delimited patterns. 'htmlc_cache_expiration_time' => '14 days', // `strtotime()` compatible. - 'htmlc_cache_dir_public' => $wp_content_dir_relative.'/htmlc/cache/public', - 'htmlc_cache_dir_private' => $wp_content_dir_relative.'/htmlc/cache/private', + 'htmlc_cache_dir_public' => $wp_content_dir_relative.'/cache/quick-cache/htmlc/public', + 'htmlc_cache_dir_private' => $wp_content_dir_relative.'/cache/quick-cache/htmlc/private', 'htmlc_compress_combine_head_body_css' => '1', // `0|1`. 'htmlc_compress_combine_head_js' => '1', // `0|1`.