diff --git a/core/core.services.yml b/core/core.services.yml index f18c3f3214f..59e8a6f1989 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -38,6 +38,10 @@ services: class: Drupal\Core\Cache\ApcuBackendFactory cache.backend.php: class: Drupal\Core\Cache\PhpBackendFactory + cache.backend.memory: + class: Drupal\Core\Cache\MemoryBackendFactory + cache.backend.null: + class: Drupal\Core\Cache\NullBackendFactory cache.bootstrap: class: Drupal\Core\Cache\CacheBackendInterface tags: diff --git a/sites/example.settings.local.php b/sites/example.settings.local.php index 99cfcc476d5..1847f865fe5 100644 --- a/sites/example.settings.local.php +++ b/sites/example.settings.local.php @@ -17,6 +17,9 @@ $config['system.logging']['error_level'] = 'verbose'; $config['system.performance']['css']['preprocess'] = FALSE; $config['system.performance']['js']['preprocess'] = FALSE; +// Disable the render cache, by using the Null cache back-end. +$settings['cache']['bins']['render'] = 'cache.backend.null'; + /** * Enable access to rebuild.php. *