wycats/rack-offline — pull request #31 by dontfidget (2014-05-28 18:15:29+00:00)
Title: avoid caching old assets preserved by sprockets

Because sprockets by default leaves around the 2 previous copies of any assets, the default behavior of rack-offline.rb for rails is to cache three times the necessary data. This code picks only the latest file (based on ctime) and adds that to the manifest. Wasn't sure if this warranted testing since there is no corresponding test for rack-offline.