Skip to content
Snippets Groups Projects
Commit a43d80cf authored by catch's avatar catch
Browse files

Issue #2921706 by Daniel Korte, bkosborne: Update example.settings.local.php...

Issue #2921706 by Daniel Korte, bkosborne: Update example.settings.local.php to include ['cache']['bins']['page']
parent 99b7c9f6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
$config['system.performance']['js']['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 * Note: you should test with the render cache enabled, to ensure the correct
* cacheability metadata is present. However, in the early stages of * cacheability metadata is present. However, in the early stages of
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
* This setting disables the render cache by using the Null cache back-end * This setting disables the render cache by using the Null cache back-end
* defined by the development.services.yml file above. * 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'; # $settings['cache']['bins']['render'] = 'cache.backend.null';
...@@ -76,6 +76,20 @@ ...@@ -76,6 +76,20 @@
*/ */
# $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory'; # $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. * Disable Dynamic Page Cache.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment