Title: Creating merged css/js selectively
Last modified: October 26, 2020

---

# Creating merged css/js selectively

 *  Resolved [nik3sh](https://wordpress.org/support/users/nik3sh/)
 * (@nik3sh)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/creating-merged-css-js-selectively/)
 * Hello, I use a theme where there are multiple elements and each of them has their
   own css & js files .
 * My website uses various elements on different pages , sometimes they are repeated
   but most of the Times they don’t.
 * Now what I plan to do here is that use themes css / js files and create 2 copies
 * 1 css/js for basic functionality and structure . This I want to get cached and
   it will be used on all pages .
 * 2 css/ js for only elements used on the page.
 * Reason : after some very thoughtful process , I came to conclusion that my audience
   come directly on my target page via search engines . Rather them loading all 
   css , I want to get them to load as minimum css/js possible . Since Google rates
   all pages as different sites , my audience will get a faster page .

Viewing 1 replies (of 1 total)

 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/creating-merged-css-js-selectively/#post-13599190)
 * Hi,
 * MMR is designed to be automatic and so specifying the scripts to merge isn’t 
   really possible. MMR was inspired by MinQueue which does allow this but it hasn’t
   been maintained.
 * If your server has HTTP2 enabled then I think you might be better to turn off
   merging if you are going to have different css/js included on each per page.

Viewing 1 replies (of 1 total)

The topic ‘Creating merged css/js selectively’ is closed to new replies.

 * ![](https://ps.w.org/merge-minify-refresh/assets/icon.svg?rev=3414776)
 * [Merge + Minify + Refresh](https://wordpress.org/plugins/merge-minify-refresh/)
 * [Support Threads](https://wordpress.org/support/plugin/merge-minify-refresh/)
 * [Active Topics](https://wordpress.org/support/plugin/merge-minify-refresh/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/merge-minify-refresh/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/merge-minify-refresh/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/creating-merged-css-js-selectively/#post-13599190)
 * Status: resolved