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 .
- The topic ‘Creating merged css/js selectively’ is closed to new replies.