dotnet / dotnet/aspnetcore

Output-caching can return stale results

Open
#40,225 1 comment 0 reactions 1 assignee Claimed by @sebastienros View on GitHub
area-middleware feature-output-caching
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

When the server returns an error, or a lock is acquired on this resource, the cache can return a stale entry depending on a timeout (grace period).
When an entry is stale and refreshed, if "If-Modified-Since" or "If-None-Match" are set, and the content is identical a 304 will be returned and the cached entry refreshed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.