Re: Headers on static content being clobbered

2011-02-14 Thread Michael Edgar
Beautiful! Thanks, Matthew! Anyone from Heroku who comes upon this: any chance this could get into the official caching FAQ for Heroku? Surely others have come across this and failed to find it through searching (as I did). On Feb 14, 2011, at 1:54 PM, Matthew Todd wrote: > On Feb 14, 2011, at 8

Re: Headers on static content being clobbered

2011-02-14 Thread Matthew Todd
On Feb 14, 2011, at 8:16 PM, Michael Edgar wrote: > How can I set a far-future cache-control header and not have it get > clobbered by Varnish? Hi, Mike -- Short version: monkey-patch Heroku::StaticAssetsMiddleware to unconditionally return @app.call(env). Weird, no? Longer version: http://g

Headers on static content being clobbered

2011-02-14 Thread Michael Edgar
Howdy, I've got a small site running on Heroku and would like to set far- future Cache-Control headers and need to set Vary: Accept-Encoding on my plaintext static assets. I don't intend to serve from S3 or a CDN: my traffic isn't close to worth it. That said, for those couple thousand who do traf

Re: "Your application is too busy to open a console session."

2011-02-14 Thread David Dollar
Console sessions do happen over a dyno. A dyno will be in-use for the time between when you press enter on a command and the result comes back. Idle time sitting at the console prompt does not use up a dyno. Hope this helps, David On Feb 13, 2011, at 6:46 AM, Neil Middleton wrote: > This had m

Upgrading Hoptoad

2011-02-14 Thread Helder Ribeiro
Hi! So I did `heroku addons:upgrade hoptoad:plus`, and the web interface still counts me as a Basic user (can't add new users, for instance). Should I just remove Hoptoad and add it again as Plus? Thanks, Helder -- You received this message because you are subscribed to the Google Groups "He