summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 330be144c54..4a40a1318b4 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