Title: JS excludes
Last modified: April 20, 2020

---

# JS excludes

 *  Resolved [sirrahikkala](https://wordpress.org/support/users/sirrahikkala/)
 * (@sirrahikkala)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/js-excludes/)
 * Hey, if I add some JS scripts to be excluded of all optimizations, did I get 
   it right that it needs to be added to Tuning tab? also does it need to have url
   structure in some specific format? I added few of them beginning with /wp-content?

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/js-excludes/#post-12702995)
 * Hi,
 * Assume you have a JS needs to exclude
 * [https://domain.com/wp-content/plugins/some-plugin/js/plugin.js](https://domain.com/wp-content/plugins/some-plugin/js/plugin.js)
 * The URL can be full or partial , so
 *     ```
       wp-content/plugins/some-plugin/js/plugin.js
       plugins/some-plugin/js/plugin.js
       some-plugin/js/plugin.js
       js/plugin.js
       ```
   
 * all will work , but make sure it only covers the necessary JS , if you do it 
   like
 * `wp-content`
 * then all the JS inside of wp-content will be exclude
 * try make the path as accurate as possible.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘JS excludes’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/js-excludes/#post-12702995)
 * Status: resolved