RubySource: Introducing the Sprite-Factory Gem

Tweet

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

Get your free chapter of Level Up Your Web Apps with Go

Get a free chapter of Level Up Your Web Apps with Go, plus updates and exclusive offers from SitePoint.

No Reader comments