Title: Exclude js from minification
Last modified: March 3, 2023

---

# Exclude js from minification

 *  Resolved [ms100](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/)
 * Hi support,
   Is the advise still to [exclude Woocommerce js from minification](https://woocommerce.com/document/configuring-caching-plugins/?quid=830897dd137ca054e421c43d51b6cb0c)?(
   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](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16525900)
 * Hello [@ms100](https://wordpress.org/support/users/ms100/),
 * > Is the advise still to [exclude Woocommerce js from minification](https://woocommerce.com/document/configuring-caching-plugins/?quid=830897dd137ca054e421c43d51b6cb0c)?
   > (
   > 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](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16532747)
 * Thanks for the reply [@babylon1999](https://wordpress.org/support/users/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](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16536257)
 * > 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](https://woocommerce.com/experts/).
   Furthermore, if the purpose of this is to increase the site’s speed, I recommend
   checking [this article](https://woocommerce.com/posts/ten-ways-to-speed-up-your-woocommerce-store/).
   Hope this helps!
 *  Thread Starter [ms100](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16542940)
 * Thank you very much [@babylon1999](https://wordpress.org/support/users/babylon1999/)
   
   I’v marked as resolved
 *  [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * (@amiralifarooq)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16544283)
 * You’re welcome, [@ms100](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-js-from-minification/#post-16544283)
 * Status: resolved