Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mattfordham opened this issue Mar 29, 2012 · 0 comments
Open

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

mattfordham opened this issue Mar 29, 2012 · 0 comments

Comments

@mattfordham
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant