-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC 7234] Cache entry freshness #513
Comments
This was referenced May 25, 2016
Closed
This was referenced May 26, 2016
keshonok
added a commit
that referenced
this issue
Jun 14, 2016
- Add processing of max-stale and min-fresh CC directives; - Handle overflows of CC directive's values according to RFC; - Handle duplicates of CC directives and headers according to RFC; - Calculate cache entry lifetime and store it in the cache entry; - Store req/resp timestamps in a cache entry for age calculation; - Calculate cache entry freshness. Consider request's max-age, max-stale, and min-fresh for cache entry freshness calculation; - Return only fresh responses to requests from cache.
keshonok
added a commit
that referenced
this issue
Jun 14, 2016
- Add processing of max-stale and min-fresh CC directives; - Handle overflows of CC directive's values according to RFC; - Handle duplicates of CC directives and headers according to RFC; - Calculate cache entry lifetime and store it in the cache entry; - Store req/resp timestamps in a cache entry for age calculation; - Calculate cache entry freshness. Consider request's max-age, max-stale, and min-fresh for cache entry freshness calculation; - Return only fresh responses to requests from cache.
keshonok
added a commit
that referenced
this issue
Jun 20, 2016
keshonok
added a commit
that referenced
this issue
Jun 20, 2016
keshonok
added a commit
that referenced
this issue
Jun 20, 2016
- Add processing of max-stale and min-fresh CC directives; - Handle overflows of CC directive's values according to RFC; - Handle duplicates of CC directives and headers according to RFC; - Calculate cache entry lifetime and store it in the cache entry; - Store req/resp timestamps in a cache entry for age calculation; - Calculate cache entry freshness. Consider request's max-age, max-stale, and min-fresh for cache entry freshness calculation; - Return only fresh responses to requests from cache.
keshonok
added a commit
that referenced
this issue
Jun 20, 2016
Implemented in #559. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RFC 7234 4.2 defines a cache entry freshness calculation. This must be generic function which can be called at request service time as well as in cache eviction thread.
The issue depends on #507 (Date is required header), #1 (we must generate warnings if heuristic freshness is used).
Depends on #523 in that response
max-age
must be accounted.This should generate 113'th warning (#1), mark this as TODO.
The text was updated successfully, but these errors were encountered: