Skip to content

Altering cache mode depending on response #84

@eirnym

Description

@eirnym

I'd like to be able to alter caching mode depending on a response I get. Default implementation is already there, which uses HTTP headers to decide on that

E.g. I use a cache to hit an API endpoint and I'd like to handle errors properly (e.g. request limit), but force to cache for example 2xx responses, even http headers tell "no cache" to clear them later manually.

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