Programming
Article

RubySource: Introducing the Sprite-Factory Gem

By Jake Gordon

It is a well established performance best practice for a web page to minimize the number of HTTP requests it makes for assets like images, javascript files and stylesheets. In fact, its Rule #1 on Steve Souders High Performance Web Sites . In the latest version of Rails, these practices are being formalized for javascript and css with the asset pipeline , using the sprockets and sass libraries to combine multiple smaller files into a single unified (and minified) asset file in production mode.

Link:
RubySource: Introducing the Sprite-Factory Gem

More:
Meet the author
Senior Software Engineer at liquidplanner.com, building the best online project management application during the day, and experimenting with HTML5 games by night!

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in Front-end, once a week, for free.