From 545dcf02e6ac8d7a2358c3a637318d71569c4c58 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 17 Nov 2022 14:32:40 +1300 Subject: [PATCH] Use fastArray cache for js_strings --- Civi/Core/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Core/Container.php b/Civi/Core/Container.php index 0f493350ab..b7a5def800 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -192,7 +192,7 @@ class Container { // For Caches that we don't really care about the ttl for and/or maybe accessed // fairly often we use the fastArrayDecorator which improves reads and writes, these // caches should also not have concurrency risk. - $fastArrayCaches = ['groups', 'navigation', 'customData', 'fields', 'contactTypes', 'metadata']; + $fastArrayCaches = ['groups', 'navigation', 'customData', 'fields', 'contactTypes', 'metadata', 'js_strings']; if (in_array($cacheSvc, $fastArrayCaches)) { $definitionParams['withArray'] = 'fast'; } -- 2.25.1