Skip to content

benoitgoyette/CssVerificator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CssVerificator

CssVerificator is a Rails application which checks 5 items around CSS for leveraging performances. This is a prototype. You are welcome to use, fork, improve, twist it.

The Story

Nicole Sullivan (@stubbornella) recently outlined the Top 5 Mistakes of Massive CSS. After a survey, Nicolle Sullivan found out that

  • 42% Don’t GZIP CSS
  • 44% Have more than 2 CSS external files
  • 56% Serve CSS with cookies (yummy to eat, bad for static content)
  • 62% Don’t minify (check out the YUI Compressor!)
  • 21% Have greater than 100K of CSS

We then decided to create a service that would help Web developers fix these 5 items only for leveraging performances on their Web sites.

Installation

The project has been created in Rails 2.3.8.

git clone git:https://github.com/benoitgoyette/CssVerificator.git

Then

cd CssVerificator
./script/server

Enjoy!

See online at https://css-verificator.heroku.com

Acknowledgements

Thanks to Karl Dubost - https://la-grange.net/karl/ Special thanks to Jean-François Le Gac for the CSS (Twitter: @Sylvadoc) and Pheromone - https://lab.pheromone.ca/

License

The MIT License

Copyright (c) 2010 Benoit Goyette

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Web service to verify the Css for performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published