#1 Dec 31, 2008 5:23 pm

Kudos
Member
From: Ireland
Joined: Nov 20, 2008
Website

[Widget] Midget - JS and CSS minifier

I've been looking into optimising my sites lately, and needed something to encourage myself to optimise my JS and CSS files. So I spent the day making Midget, an OS X dashboard widget which minifys your CSS and JS files.


Download

Feedback is much appreciated.

Last edited by Kudos (Dec 31, 2008 5:23 pm)

Offline

 

#2 Dec 31, 2008 7:19 pm

Niklas Schröder
Member
From: San Antonio, Texas
Joined: Apr 21, 2008
Website

Re: [Widget] Midget - JS and CSS minifier

What's the benefit of using this?  I'm assuming it'll encode the javascript/css so it'll run a bit faster?

Offline

 

#3 Dec 31, 2008 8:01 pm

Kudos
Member
From: Ireland
Joined: Nov 20, 2008
Website

Re: [Widget] Midget - JS and CSS minifier

It depends on the style of CSS and JS you code, it could result in as much as 200% reduction in filesize or as little as 10%. It also combines multiple files into one, reducing the file requests overhead to the server.

Offline

 

#4 Jan 1, 2009 12:57 am

~HP
Member
From: /usr/bin/
Joined: Nov 19, 2008
Website

Re: [Widget] Midget - JS and CSS minifier

Nice… I don't use Dashboard… it sucks too much resources, but, the yuicompressor.jar seems to be a good command line tool ! Thanks for this, I did not know this tool smile_thumbup.

Offline

 

Board footer

[ Generated in 0.038 seconds, 9 queries executed ]