GetSimple Support Forum

Full Version: Which tools for combining and minifying CSS and Javascript?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As in the subject line,

does anybody use combine and minify libraries (with GetSimple)?
Tbh apache's deflate compression + minifying js/css (while leaving them standalone) is enough for small webpages in my taste. Especially when some of them are implemented as external (cdn) libraries.
I sometimes have to make changes in scripts while being away from my workstation, and working on fully minified file(s) would be a real nail in the ass.
yojoe Wrote:I sometimes have to make changes in scripts while being away from my workstation, and working on fully minified file(s) would be a real nail in the ass.
Agreed so something which possibly leaves the development css and javascript files alone would be dandy. I imagine that taking existing LINK elements in a template, combining the files and then replacing those LINKS with a respective single LINK element should be possible? I don't know how other systems do this, I'll investigate.
ive seen somehting that does it's magic from within htaccess... cant find the link for it now though...
minify looks like it might work. You configure it with the CSS/Javascript URLs you want to combine and it provides a new URL which loads the combined stuff.

I'll try it out sometime this week.
i used http://closure-compiler.appspot.com/ but you can try this too: http://yuicompressor.codeplex.com/

on a few occasions, i used this http://duris.ru/ and it encodes small images in css, so you get less http requests. Using this tool + following yslow suggestions gave me best results.

or at minimal you could try http://www.cleancss.com/