• Resolved jinsley8

    (@jinsley8)


    When I combine the CSS and JS it creates dynamic files which are render-blocking.

    This gives a warning in the core web vitals score. Is there any way to defer these dynamic files?

    Example – /wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-js-b12e8e61a6e294041ce21d5e524147c5.js

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @jinsley8,

    The combined scripts are containing all of your script and styles. Deferring them may lead to unexpected behaviour, such as broken CSS, design, js not working properly, etc because there is no way of knowing which script from the combination may be loaded asynchronously.

    Kind regards,
    Stoyan

    Thread Starter jinsley8

    (@jinsley8)

    I’m mostly looking to defer combined CSS because I’m loading Critical CSS so users won’t notice broken css.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Defer Combined Js & CSS files generated by plugin’ is closed to new replies.