Skip to content

Commit

Permalink
Change default cache directory and HTML Compressor cache directory
Browse files Browse the repository at this point in the history
* Use `/cache/quick-cache/cache` for primary cache
* Use `/cache/quick-cache/htmlc` for HTML Compressor cache

See wpsharks/comet-cache#123
  • Loading branch information
raamdev committed May 1, 2014
1 parent 3e1a9f4 commit 88c2a9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quick-cache-pro/quick-cache-pro.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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`.
Expand Down

0 comments on commit 88c2a9b

Please sign in to comment.