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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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???

This topic is locked and can not be replied to.