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.

RubySource: Introducing the Sprite-Factory Gem


No Reader comments



Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

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