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

Server Rack::Cache + Faraday Rack::Cache, cache doesn't expire #34

Open
therabidbanana opened this issue Apr 11, 2012 · 1 comment
Open

Comments

@therabidbanana
Copy link

Now that I have server rack-cache and faraday rack-cache working together, I've found another issue: nothing expires from the cache. I'm having trouble narrowing in on the exact error - but it seems related to the faraday :net_http adapter. First I was getting a NoMethodError due to nil values in env[:request_headers], then, with a fix for that in rack_compatible, I get caching that refuses to expire.

Test case:

therabidbanana@621d929

Changing to :em_http has allowed me to work around the problem, but I can't hunt down the exact reason why.

@SebastianEdwards
Copy link

I have a workaround for the nil value error at #35.

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

2 participants