4

I know that they use Google Closure for their Js files in 1.4 but what about css?

1
  • Just in case you don't know about it, I use this online version of google closure compiler: closureoptimizer.com Commented Jul 15, 2010 at 0:39

1 Answer 1

6

jQuery doesn't have any CSS:)

jQuery UI doesn't minify their CSS :)

That being said, I use the YUI Compressor to minify CSS in projects as a build step and it's worked very well, CSS minification isn't that complicated, so it's hard to go wrong here.

Sign up to request clarification or add additional context in comments.

6 Comments

@Marko - I don't recall them doing this, maybe they did at some point, but not in the past year or two, that I've ever come across anyway.
Good answer, what about the JS though?
@Marko - That part's in the question :) The closure compiler ...we're also using that in the build to compress JS as a pre-build step on the web project, if you're completely outside the pages you'll get a ton of additional compression out of the advanced optimizations.
@Nick, well, CSS minification can be complicated when it gets a little farther than spaces and comments removal... like rules optimisation. ;)
@Julian - I don't see how any minifier could do that though, since it would require every scenario of markup that goes with it. I do agree you can optimize CSS better, but that's not the same as minification.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.