I believe if you simply set the asset host in Rails, it will keep appending the timestamp at the end of the URLs it generates in your view.
On Jan 13, 2011, at 12:55 PM, Trevor Turk wrote: > On Thursday, January 13, 2011 5:51:42 PM UTC, David Dollar wrote: > Another approach if you're packaging assets like this anyway would be to > upload them to S3 instead of adding them to the app. You could then use S3 as > an asset host, and even take advantage of CloudFront as a CDN. > > Yeah, I was thinking the same thing. I'd just have to figure out how to keep > the timestamp thing in the view (e.g. javascripts/all.js?1294939289) > > I'll think about it some more. This is such a huge improvement for me > already, though. Going from 10+ HTTP requests for this stuff to 2 really > speeds things up. > > - Trevor > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
