From bfcb41bfb1ea5a46d7bc1588f5bf6a81c8bc8119 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sun, 19 Apr 2015 12:25:33 +0200 Subject: [PATCH] Issue #2395143 followup by amateescu: YAML parsing is very slow, cache it with FileCache --- core/lib/Drupal/Core/DrupalKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index e57f9defb972..97141064e234 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -431,7 +431,7 @@ public function boot() { } } FileCacheFactory::setConfiguration($configuration); - FileCacheFactory::setPrefix(hash('sha256', Settings::get('hash_salt'))); + FileCacheFactory::setPrefix(hash('sha256', 'FileCache' . Settings::get('hash_salt'))); // Initialize the container. $this->initializeContainer(); -- GitLab