summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authoreffulgentsia2015-09-08 23:58:29 (GMT)
committereffulgentsia2015-09-08 23:58:29 (GMT)
commit5e8523ecb95f1530e80ea2d9929135ef9b3f8733 (patch)
tree9f57c536ab917792debbd63bbbfc153dc094675e /sites
parent472403c2e07e3d18642545eb3a93df5452e065f9 (diff)
Issue #2429617 by Wim Leers, Fabianx, Berdir, yched, dawehner, effulgentsia, catch, borisson_, jhodgdon, martin107, torgosPizza: Make D8 2x as fast: Dynamic Page Cache: context-dependent page caching (for *all* users!)
Diffstat (limited to 'sites')
-rw-r--r--sites/example.settings.local.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/sites/example.settings.local.php b/sites/example.settings.local.php
index 23090a4..a5d50f2 100644
--- a/sites/example.settings.local.php
+++ b/sites/example.settings.local.php
@@ -52,12 +52,25 @@ $config['system.performance']['js']['preprocess'] = FALSE;
/**
* Disable the render cache (this includes the page cache).
*
+ * Note: you should test with the render cache enabled, to ensure the correct
+ * cacheability metadata is present. However, in the early stages of
+ * development, you may want to disable it.
+ *
* This setting disables the render cache by using the Null cache back-end
* defined by the development.services.yml file above.
*
* Do not use this setting until after the site is installed.
*/
-$settings['cache']['bins']['render'] = 'cache.backend.null';
+# $settings['cache']['bins']['render'] = 'cache.backend.null';
+
+/**
+ * Disable Dynamic Page Cache.
+ *
+ * Note: you should test with Dynamic Page Cache enabled, to ensure the correct
+ * cacheability metadata is present (and hence the expected behavior). However,
+ * in the early stages of development, you may want to disable it.
+ */
+# $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
/**
* Allow test modules and themes to be installed.