Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    you could try Load JS Deferred: Delay

    Thread Starter reda33

    (@reda33)

    Unfortunately it broke my website.

    Plugin Support qtwrk

    (@qtwrk)

    okay , you can try use the JS delay include option to specifically delay certain JS

    or enable JS delay and exclude certain JS that breaks the site.

    Thread Starter reda33

    (@reda33)

    I am using Divi and i got to only one js file to reduce which seems to be related to jquery.

    it looks like this:

    https://www.mywebsite.com/wp-content/litespeed/js/2c64291dfdcee6fc038ce8b7b75b2d74.js?ver=fb862

    I am still on Load JS Deffered: Defered

    If I pressed Delay, then the site crash, I tried to exclude the following files i found on the internet here and here but still not working:

    /jquery-?0-9.(.min|.slim|.slim.min)?.js
    /jquery-migrate(.min)?.js
    .dipi_preloader_wrapper_outer
    /Divi/js/scripts.min.js
    /Divi/js/custom.unified.js
    /js/magnific-popup.js
    et_pb_custom
    et_animation_data
    var DIVI
    elm.style.display
    easypiechart.js
    /Divi/includes/builder/feature/dynamic-assets/assets/js/sticky-elements.js

    Plugin Support qtwrk

    (@qtwrk)

    you can try disable or bypass the plugin , check the page , it will list the original JS , then try to use the JS delay include with the given list , see if it works easier for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reduce unused JavaScript’ is closed to new replies.