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: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://groups.google.com/group/heroku/browse_thread/thread/607f0dc9a3979e1b
> 
> Hope this helps,  -- Matthew

-- 
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.

Reply via email to