Rack-Cache and Streaming... incompatible?

7 views
Skip to first unread message

Matthew Fordham

unread,
Apr 3, 2012, 4:07:22 PM4/3/12
to rubyonra...@googlegroups.com
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 the caching if possible. Setting 'Cache-Control: no-cache'  for the response didn't help.

Here is my SO post on the topic:
http://stackoverflow.com/questions/9930564/possible-to-disable-rack-cache-on-a-per-request-basis-in-rails-3-2

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

Thanks!
Reply all
Reply to author
Forward
0 new messages