Re: Changing static asset cache time

2011-06-04 Thread S Wrobel
Thanks Chris, your solution seems to be working fine for me in production @ http://smartvark.com -- You received this message because you are subscribed to the Google Groups Heroku group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/RzBHbC1NOC1udkVK. To

Re: Changing static asset cache time

2011-05-29 Thread Chris Hanks
Yeah, Heroku should make this a lot easier. I experimented with one approach to this a while ago, and it seemed to work fine on my staging dyno. I haven't gotten around to actually running it in production yet, though, so use at your own risk: https://gist.github.com/998124 Let me know how it

Changing static asset cache time

2011-05-29 Thread S Wrobel
I'd like my static assets to cache for longer. I think Heroku's default is 12 hours, but considering that Rails adds the ?33253523 stuff to them to indicate when a new version has been deployed, there's no reason not to cache them for months if not years. 12 hours seems way too short for me.