Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Request headers can't opt out of looking in the cache #2

Closed
@darrelmiller

Description

@darrelmiller

https://github.com/aspnet/ResponseCaching/blob/chrross/initial/src/Microsoft.AspNet.ResponseCaching/CachingContext.cs#L46

No-cache in the request header says a cached response has to be revalidated.
No-store says you can't store the response, but if someone else requested it without no-store and the response is fresh then you can serve it.

Clients can avoid getting cached responses by using max-age and min-fresh request directives, but that requires pulling the response from the cache anyway to check the age.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions