The scripts and css delayed by the theme are not minified
-
The theme has a script that delays the loading of some scripts and css. Litespeed cache does not minify them. I put a piece of the script that uses the theme:
DOMContentLoaded",()=>e())}(()=>setTimeout(a,2)):a())};["mousemove","mousedown","keydown","touchstart","wheel"].forEach(e=>{document.addEventListener(e,d,{passive:!0,once:!0})})}}("css",t)}function u(){i.forEach(e=>m(e))}function f(e){if(y(),!e){d=!0,a=document.readyState;let e="loading";Object.defineProperty(document,"readyState",{configurable:!0,get:()=>e,set:t=>e=t})}let t;const o=new Promise(e=>t=e),c=()=>{s.length?m(s.shift()).then(c):t()};c(),o.then(w).catch(e=>
Is there a way to solve this and those script and css are minified?
- The topic ‘The scripts and css delayed by the theme are not minified’ is closed to new replies.