From 8a6d8660cbee1ab28257f4c461a637bb1d6facc3 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 16 Aug 2009 23:20:43 +0000 Subject: #370454 follow-up by chx: Enhance comments to page cache simplification patch, and add in missing settings.default.php hunk. --- sites/default/default.settings.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sites/default') diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index 5ce2a4533..7e3ded177 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -352,3 +352,16 @@ $conf = array( # $conf['blocked_ips'] = array( # 'a.b.c.d', # ); + +/** + * Page caching: + * + * To use a caching backend that does not use the database for page cache, + * set cache_inc to the file which provides this backend and set + * page_cache_without_database to TRUE. For additional speedup, + * page_cache_invoke_hooks can be set to FALSE to skip calling hook_boot and + * hook_exit which are the only hooks fired during serving a cached page. + */ +# $conf['cache_inc'] = DRUPAL_ROOT . '/sites/all/modules/memcache/memcache.inc'; +# $conf['page_cache_without_database'] = TRUE; +# $conf['page_cache_invoke_hooks'] = FALSE; -- cgit v1.2.3