Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which tools for combining and minifying CSS and Javascript?
#1
As in the subject line,

does anybody use combine and minify libraries (with GetSimple)?
Reply
#2
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.
Addons: blue business theme, Online Visitors, Notepad
Reply
#3
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.
Reply
#4
ive seen somehting that does it's magic from within htaccess... cant find the link for it now though...
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#5
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.
Reply
#6
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/
Reply




Users browsing this thread: 1 Guest(s)