summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorNathaniel Catchpole2018-01-22 17:29:12 (GMT)
committerNathaniel Catchpole2018-01-22 17:29:12 (GMT)
commita43d80cf5b6c79909b8f5310cb7fac71c9b52888 (patch)
treec0721123d2a746c05e54e09a86d63b5193b22ad1 /sites
parent99b7c9f6432b4ea3b0f8be711c374f985b65999f (diff)
Issue #2921706 by Daniel Korte, bkosborne: Update example.settings.local.php to include ['cache']['bins']['page']
Diffstat (limited to 'sites')
-rw-r--r--sites/example.settings.local.php18
1 files changed, 16 insertions, 2 deletions
diff --git a/sites/example.settings.local.php b/sites/example.settings.local.php
index 330be14..4a40a13 100644
--- a/sites/example.settings.local.php
+++ b/sites/example.settings.local.php
@@ -55,7 +55,7 @@ $config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;
/**
- * Disable the render cache (this includes the page cache).
+ * Disable the render cache.
*
* Note: you should test with the render cache enabled, to ensure the correct
* cacheability metadata is present. However, in the early stages of
@@ -64,7 +64,7 @@ $config['system.performance']['js']['preprocess'] = FALSE;
* 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.
+ * Only use this setting once the site has been installed.
*/
# $settings['cache']['bins']['render'] = 'cache.backend.null';
@@ -77,6 +77,20 @@ $config['system.performance']['js']['preprocess'] = FALSE;
# $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
/**
+ * Disable Internal Page Cache.
+ *
+ * Note: you should test with Internal Page 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 page cache by using the Null cache back-end
+ * defined by the development.services.yml file above.
+ *
+ * Only use this setting once the site has been installed.
+ */
+# $settings['cache']['bins']['page'] = 'cache.backend.null';
+
+/**
* Disable Dynamic Page Cache.
*
* Note: you should test with Dynamic Page Cache enabled, to ensure the correct