summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorDavid Rothstein2014-11-05 01:07:30 (GMT)
committerDavid Rothstein2014-11-05 01:07:30 (GMT)
commit9559160204f1c4e72e145cf95d61bf61e4bd1fcf (patch)
tree7d90d37162f5694ea079122846bf4ed2ffb4b50b /sites
parentd6c502926e1286e22771c58e01db386ba80d6480 (diff)
Issue #1930960 by pounard, iamEAP, pjcdawkins, msonnabaum, David_Rothstein: Fixed Block caching disable hardcoded on sites with hook_node_grant() causes serious performance troubles when not necessary.
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.settings.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index fc1240d..449f188 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -435,6 +435,18 @@ ini_set('session.cookie_lifetime', 2000000);
# $conf['js_gzip_compression'] = FALSE;
/**
+ * Block caching:
+ *
+ * Block caching may not be compatible with node access modules depending on
+ * how the original block cache policy is defined by the module that provides
+ * the block. By default, Drupal therefore disables block caching when one or
+ * more modules implement hook_node_grants(). If you consider block caching to
+ * be safe on your site and want to bypass this restriction, uncomment the line
+ * below.
+ */
+# $conf['block_cache_bypass_node_grants'] = TRUE;
+
+/**
* String overrides:
*
* To override specific strings on your site with or without enabling the Locale