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

    (@stoyangeorgiev)

    Hello there @johnmacarts,

    We had a look at your website. It was generating too many unique id’s for elements and was generating too many combined files.

    In order to fix this, go to your Divi Theme Options-> Builder->Advanced and enable the Output Styles Inline option. After that click on the Clear button next to Static CSS File Generation. When you have enabled the option, Purge SG Cache, go to our plugin and you will be able to activate the JS Combination.

    Check your site to see if everything is working as expected after that. If you have any issues, you can always contact us for further assistance.

    Kind regards,
    Stoyan

    Thread Starter Johnmacarts

    (@johnmacarts)

    This worked – thank you.

    I have other sites, can you help me to understand why this worked?

    Why / How / where was my website building too many unique id’s?

    How did enable output styles inline fix the problem?

    Thanks

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hello there,

    To find which scripts are causing the unique id generations, you can go to your file manager -> wp-content->uploads->siteground-optimizer-assets. From there locate the combined scripts that are of the same size. Download them to your local machine and use a terminal to run the following command:
    cd path/to/your/files
    vimdiff combinedfile1.js combinedfile2.js

    After running those commands you will be able to see what is generating the unique ids. You can exclude the scripts after you find the issue causing that.

    We have improved the method for the regular assets clean-up and we have also increased the limits for stopping the js combination. After the latest update of the plugin, you should stop experiencing the issue with the JS Combination disabled notice.

    However, if you still have any issues in the future, feel free to contact us!

    Kind regards,
    Stoyan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Javascript combination disabled’ is closed to new replies.