jacquescrocker / jammit-sinatra

Jammit Rack middleware for use with Sinatra/Padrino
MIT License
23 stars 13 forks source link

Cache busting of assets #4

Open arkiver opened 11 years ago

arkiver commented 11 years ago

I am using jammit-sinatra in a Padrino app. I can't find a way to enable cache busing for my JS and CSS.

In the http://documentcloud.github.io/jammit/,

"You don't need to worry about clearing the cached assets when you deploy a new release, because Rails will write out the asset's modification time as part of the URL, causing browsers to fetch a fresh copy of the asset."

But since my app is not Rails and it is Padrino, is there some way I can enable cache busting using Jammit itself?

a-bx commented 8 years ago

:+1: