Forum: Ruby on Rails Rack-Cache and Streaming incompatible?

C2a9b1cbe4fe9db10a34fc672cff2cf6?d=identicon&s=25 Matthew Fordham (Guest)
on 2012-04-03 22:08
(Received via mailing list)
Hi all,

I am attempting to stream a CSV file from a Rails 3.2 application. All
works as expected IF I disable Rack-Cache... but I really want to keep
caching if possible. Setting 'Cache-Control: no-cache'  for the response
didn't help.

Here is my SO post on the topic:

Is Rack-Cache incompatible with streaming responses???
Can anyone think of a way to disable Rack-Cache for this one request???

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.