First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

YUI Compressor

There are 3 entries for the tag YUI Compressor

YUI JS Compressor becomes YUI Compressor: now with CSS compression

Julien Lecomte is riding the wave of his YUI JavaScript Compressor and has just released the version 2.0 of the YUI Compressor. This version includes Isaac Schlueter’s regular expression based CSS minifier. Therefore now the YUI compressor can minify both JavaScript and CSS files. Minifying CSS will not help me improve my YSlow score again, but will save a few KBytes per request. Technorati tags: YUI Compressor, CSS, Minification

How to use YUI JS Compressor inside a NAnt build script

As I anticipated yesterday, I implemented the YUI JS compressor inside Subtext's build process, and since it took me a while to understand how to specify the arguments for the NAnt <exec> task I wanted to share the snippet of the build file I created: <target name="JavaScript.minify"> <echo message="${filename}" /> <exec program="java" workingdir="${YUICompressor.dir}"> <arg value="-jar" /> <arg value="yuicompressor.jar" /> <arg value="-o" /> <arg value="${filename}.min" /> ...

YUI JavaScript compressor

Following the release of YSlow, there has a lot buzz around the rules it evaluates. And even if not all the 13 rules are issues for normal websites, some of them, like gzipping all the static text files (CSS and JS) and minifying JavaScript are good advices also for websites with not so many users as Yahoo!. At Yahoo! they suggested to use JSMin, a tool developed by Douglas Crockford, a guy working for Yahoo!. JSMin is only a minifier: it removes comments, unnecessary whitespace and linefeeds but does not change the name of variables or functions to shorter identifiers...