Skip to content

Bypass Cache if client sets max-age=0 #4

@IainBapty

Description

@IainBapty

It doesn't look like there is currently a way to invalidate the in-memory cache if the client has requested the latest value. If the client needs the very latest value then there is no way to force the request down to the handler.

Perhaps if the client sets:

Cache-Control:max-age=0

or

Cache-Control:no-cache

then CachingInterceptor should skip TryGetValidCacheEntry. What do you think?

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