From d5f0836b32e7bf7a48faa0e74f3c4d30b8796f0f Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Tue, 28 Oct 2025 16:02:50 +0100 Subject: [PATCH] [web] enable compileFromClsiCache independent of clsi-cache-prompt (#29366) The split test is active now and .active is only set in the dev-env. GitOrigin-RevId: ed4a379e2144c2a08497eb0cf42ef16077f7ad27 --- services/web/app/src/Features/Compile/CompileController.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/web/app/src/Features/Compile/CompileController.mjs b/services/web/app/src/Features/Compile/CompileController.mjs index f905ec656c..6e8675843c 100644 --- a/services/web/app/src/Features/Compile/CompileController.mjs +++ b/services/web/app/src/Features/Compile/CompileController.mjs @@ -92,10 +92,7 @@ async function _getSplitTestOptions(req, res) { 'clsi-cache-prompt' )) populateClsiCache = variant === 'enabled' - if (res.locals.splitTestInfo?.['clsi-cache-prompt']?.active) { - // Start using the cache when the split-test for the prompts is activated. - compileFromClsiCache = populateClsiCache - } + compileFromClsiCache = populateClsiCache } const pdfDownloadDomain = Settings.pdfDownloadDomain