From a43d80cf5b6c79909b8f5310cb7fac71c9b52888 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Mon, 22 Jan 2018 17:29:12 +0000 Subject: [PATCH] Issue #2921706 by Daniel Korte, bkosborne: Update example.settings.local.php to include ['cache']['bins']['page'] --- sites/example.settings.local.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/sites/example.settings.local.php b/sites/example.settings.local.php index 330be144c547..4a40a1318b47 100644 --- a/sites/example.settings.local.php +++ b/sites/example.settings.local.php @@ -55,7 +55,7 @@ $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 @@ * 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'; @@ -76,6 +76,20 @@ */ # $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. * -- GitLab