• Resolved ms100

    (@ms100)


    Hi support,

    Is the advise still to exclude Woocommerce js from minification?
    (We use http2 sever)

    Is there any documentation where I can find the list of Woocommerce js lines to exclude in the caching plugin?
    Or should I use browser webdeveloppment tool to see the js files that are loaded on pages?

    Thanks in advance 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Saif

    (@babylon1999)

    Hello @ms100,

    Is the advise still to exclude Woocommerce js from minification?
    (We use http2 sever)

    Yes, avoiding JS minification is still recommended.

    Is there any documentation where I can find the list of Woocommerce js lines to exclude in the caching plugin?

    I didn’t find any documentation about the specific scripts, I guess you can find them in the site’s source code but I wouldn’t recommend going that route as it might introduce unnecessary problems. 🙂

    Cheers!

    Thread Starter ms100

    (@ms100)

    Thanks for the reply @babylon1999

    What would happen if one would exclude the Woocommerce js files from minification, but do minify the other js files on the webshop?

    Is it very important to exclude all js on the whole website/webshop, when Woocommerce plugin is installed?

    Saif

    (@babylon1999)

    What would happen if one would exclude the Woocommerce js files from minification, but do minify the other js files on the webshop?

    WooCommerce heavily relies on JavaScript for its core functionality, and minification can sometimes cause issues with scripts not executing properly.

    Also, some WooCommerce extensions and integrations might also not be compatible with JS minification.

    As for third-party scripts that are non-WooCommerce-related then I assume they wouldn’t affect anything but I can’t tell for sure. 🙂

    If you’d like to discuss this with a developer, you reach out to a WooExpert from here.

    Furthermore, if the purpose of this is to increase the site’s speed, I recommend checking this article.

    Hope this helps!

    Thread Starter ms100

    (@ms100)

    Thank you very much @babylon1999
    I’v marked as resolved

    You’re welcome, @ms100 If you have any new questions, please create a new ticket.

    Cheers!

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

The topic ‘Exclude js from minification’ is closed to new replies.