Skip to content

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

@therabidbanana

Description

@therabidbanana

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions