• Resolved xscorpionx

    (@xscorpionx)


    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?

    • This topic was modified 2 years, 11 months ago by xscorpionx.
Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘The scripts and css delayed by the theme are not minified’ is closed to new replies.