Skip to content

No way to set max-age = 0 depending on response code - client may cache 404 #5

@IainBapty

Description

@IainBapty

Currently, it's possible for clients to cache 404s because a handle cannot override the max-age. Perhaps either the CachingInterceptor should remove a max-age if the handler has set a response code other than 200 or the handler should be able to set the max-age on a per-request basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions