CSS Sprite Generator: Open Sourced and Adapted

Written by on February 25th, 2008 in Ajax News.

Ryan Breen has been tinkering with the CSS Sprite Generator that Ed Eliot and Stuart Colville recently open sourced.

How did he tweak it?

One of the first articles I wrote about CSS sprites covered the built-in support in GWT, and I focused on their clever trick of including an MD5 checksum of the sprite map contents into the filename. This allows you to set effectively infinite cache headers since the name will change if the underlying image is modified.

Since the CSS sprite generator is now open source, I decided to add the checksum approach as an optional feature (on by default). You can try it here, or grab the tar or patch.

Ryan Breen Sprite Generator

Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/240879265/css-sprite-generator-open-sourced-and-adapted

Comments are closed.



Site Navigation