[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
This commit is contained in:
Jakob Ackermann
2025-10-29 09:06:04 +00:00
committed by Copybot
parent d3def551ae
commit d056ee5b74
@@ -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