RubySource: Introducing the Sprite-Factory Gem

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

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

No Reader comments

Comments on this post are closed.