Title: Limit CSS &amp; JavaScript to required pages only
Last modified: July 31, 2022

---

# Limit CSS & JavaScript to required pages only

 *  Resolved [ajtatum](https://wordpress.org/support/users/ajtatum/)
 * (@ajtatum)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/limit-css-javascript-to-required-pages-only/)
 * Ultimate Member loads a bunch of css and JavaScript files on every page, even
   the homepage. Thankfully I have a plug-in that can disable a plugin for all pages
   except for ones matching a URL pattern. However, this seems unnecessary and I
   can’t help but believe it hinders performance to some degree. I saw the post 
   on how to limit queries and will implement that, but I’m just curious if you 
   plan to improve performance and optimize asset loading.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flimit-css-javascript-to-required-pages-only%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Aswin Giri](https://wordpress.org/support/users/aswingiri/)
 * (@aswingiri)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/limit-css-javascript-to-required-pages-only/#post-15895369)
 * Hello [@ajtatum](https://wordpress.org/support/users/ajtatum/)
 * We are not working on the things you have mentioned at the current time but we
   will discuss them with the team to see if we can implement this in future versions.
 * Thanks
 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/limit-css-javascript-to-required-pages-only/#post-15896967)
 * Hey there!
 * Please feel free to re-open this thread by changing the Topic Status to ‘Not 
   Resolved’ if any other questions come up and we’d be happy to help. 🙂
 * Regards,

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

The topic ‘Limit CSS & JavaScript to required pages only’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/limit-css-javascript-to-required-pages-only/#post-15896967)
 * Status: resolved