GetSimple Support Forum
Which tools for combining and minifying CSS and Javascript? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Off Topic (http://get-simple.info/forums/forumdisplay.php?fid=12)
+--- Thread: Which tools for combining and minifying CSS and Javascript? (/showthread.php?tid=1817)



Which tools for combining and minifying CSS and Javascript? - polyfragmented - 2011-06-06

As in the subject line,

does anybody use combine and minify libraries (with GetSimple)?


Which tools for combining and minifying CSS and Javascript? - yojoe - 2011-06-06

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.


Which tools for combining and minifying CSS and Javascript? - polyfragmented - 2011-06-06

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.


Which tools for combining and minifying CSS and Javascript? - ccagle8 - 2011-06-06

ive seen somehting that does it's magic from within htaccess... cant find the link for it now though...


Which tools for combining and minifying CSS and Javascript? - polyfragmented - 2011-06-06

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.


Which tools for combining and minifying CSS and Javascript? - marrco - 2011-06-06

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/