[Rails] Rack-Cache and Streaming... incompatible?
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-2Is Rack-Cache incompatible with streaming responses???
Can anyone think of a way to disable Rack-Cache for this one request???
Thanks!
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Hn9-8MEwxGgJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home