Skip to content

Cache option doesn't appear to do anything #125

@jmacarthur

Description

@jmacarthur

I tried turning options.CACHE on, but it didn't appear to have any effect. I dug into cachecontrol, and from what I can tell, it won't cache anything unless the response has a Cache-Control header and either a nonzero max-age or an "Expires" header. neo4j (3.0.1) doesn't send either of these, so I don't think it will ever cache a response.

I can't think of any way to fix this in this project, so I've modified my copy of cachecontrol so it caches things without the headers. It might be worth removing the section on caching from the documentation though. If you agree I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions