Possible to disable for a single request to allow streaming? #60

mattfordham opened this Issue Mar 29, 2012 · 0 comments


None yet
1 participant

I have been attempting to get streaming working in Rails 3.2 on Heroku (see my SO post here: http://stackoverflow.com/questions/9915704/rails-3-2-streaming).

I am coming to the conclusion that rack-cache is causing the problem. Disabling it using config.middleware.delete(Rack::Cache) in production.rb seems to fix it. This, obviously, disables it for my entire app.

I only want it disabled for the one streaming request (which is on the admin side and will be used infrequently). It'd be a major bummer to lose caching for the sake of one small (but required) admin feature.

Are there any work-arounds for this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment