Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Can anyone recommend some Minify tools please

Anyone got any good minify tools they can recommend please for CSS and HTML please

4 Answers

Alexander Smith
Alexander Smith
2,769 Points

It's becoming a more common feature in editors actually. If you use sublime text there are a few options but one of the first google results was https://github.com/bistory/Sublime-Minifier.

However don't expect a huge increase in speed. Minification of HTML and CSS honestly does almost nothing in regards to speed (while yes it can't really hurt it shouldn't be the first thing you look at in regards to load times).

Hi Alexander thanks for that. I am Dreamweaver all the way (don't panic - only the code editor unless I am feeling really laze when selecting code).

I am looking at it as part of an overall strategy to maximise speed on my sites.

G

try www.csscompressor.com i use it too

James Barnett
James Barnett
39,199 Points

Minifying is hardly worth the effort.

Instead you should look at combining stylesheets into one to limit HTTP requests, use gzip compression which will save nearly all of the file size of the whitespace and set caching in the meta tag.

I use a PHP script to do all of those on-the-fly http://manas.tungare.name/software/css-compression-in-php/