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!

--
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedApr 3, '12 at 8:07p
activeApr 3, '12 at 8:07p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Matthew Fordham: 1 post

People

Translate

site design / logo © 2021 Grokbase