Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 889 Bytes

File metadata and controls

67 lines (46 loc) · 889 Bytes

Optimize and Minify your CSS, JS and Ajax code for faster loading pages and lower traffic costs.

YSlow analyzes web pages and why they're slow based on Yahoo!'s rules for high performance web sites.

http://yslow.org

Before

body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}

After

body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}

Thera are many resources to "minify" CSS and JavaScript:

Microsoft Ajax Minifier

http://ajaxmin.codeplex.com

JSMin - The JavaScript Minifier

http://crockford.com/javascript/jsmin

CSSTidy

http://csstidy.sourceforge.net

CSS Compressor

http://csscompressor.com

A JavaScript Compressor.version 3.0

http://dean.edwards.name/packer/

YUICompressor-NET

https://github.com/YUICompressor-NET/YUICompressor.NET