diff --git a/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php b/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php index c261b84b0bb..bba9d940991 100644 --- a/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php +++ b/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php @@ -58,7 +58,13 @@ class ChainedFastBackendFactory implements CacheFactoryInterface { } $this->consistentServiceName = $consistent_service_name; - $this->fastServiceName = $fast_service_name; + + // Do not use the fast chained backend during installation. In those cases, + // we expect many cache invalidations and writes, the fast chained cache + // backend performs badly in such a scenario. + if (!drupal_installation_attempted()) { + $this->fastServiceName = $fast_service_name; + } } /**