I have been improving the structure of a web app’s frontend and have done things like combine and minify css/js files, version files, and building out some templates. However I was looking at some web tools and it is saying there is a ton of unused js/css. Are there any suggestions on
-discovering the completely necessary code
-combining, minifying, and versioning the right code for the page
I am mainly looking for like a logical suggestion any code samples would be great. I am specifically using python, cheetah templates, yui-compressor, modified time for versioning, mod_rewrite and gzip on apache
I have been improving the structure of a web app’s frontend and have done
Share
Check out the Dust-Me Selectors Firefox extension for streamlining CSS:
For JavaScript, take a look at the Google Closure Compiler which can calculate codependencies within your code and remove redundancies.