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 the 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???