wycats / rack-offline

A Rack and Rails plugin for building offline web applications
MIT License
666 stars 82 forks source link

Respect the order of cache entries #28

Closed exviva closed 7 years ago

exviva commented 11 years ago

In our application, we're depending on the order of the cache entries (to include the javascripts dynamically in the DOM in proper order). This PR keeps the cache key computation independent of sorting order, while not mutating the @config.cache array.