Skip to content

Option to not set response header #71

Open
@muety

Description

@muety

By default, Cache-Control: max-age=<cache-ttl> is set on the response. I'd like to have an option to disable this and instead prevent intermediate caches or the client to cache the resource, so I can invalidate it (FastAPICache.clear()) in case of changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions