summaryrefslogtreecommitdiff
path: root/sites/default
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-16 23:20:43 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-16 23:20:43 +0000
commit8a6d8660cbee1ab28257f4c461a637bb1d6facc3 (patch)
tree370c852e44f380ef06cba1106a03f374bb6cbb59 /sites/default
parent9d975338222e1856d1a95f07c1490500ba584bc6 (diff)
downloadbrdo-8a6d8660cbee1ab28257f4c461a637bb1d6facc3.tar.gz
brdo-8a6d8660cbee1ab28257f4c461a637bb1d6facc3.tar.bz2
#370454 follow-up by chx: Enhance comments to page cache simplification patch, and add in missing settings.default.php hunk.
Diffstat (limited to 'sites/default')
-rw-r--r--sites/default/default.settings.php13
1 files changed, 13 insertions, 0 deletions
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;