Group all CSS into one file
I'm trying to reduce the number of requests the site is making. One possible idea is to make one CSS file that is used for every page. It might be a little more data than the current system of serving CSS based on the page but once it's cached then it won't be a problem.
I've also noticed this in one of the page speed testers...
Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:
One inelegant solution is to scan the site for all the CSS files, remove the ones that are from modules that aren't used. Minify them all and then include in the template as a static CSS file.
Anyone have a better plan?
__________________
Core version: 5.5.xx
|