This implements the HTTP only-if-cached
mode, allowing the client to prevent triggering a download from the origin.
This is envisioned to be used in the case where pulling from the origin is expensive and the client may want to decide to go to another cache first.
This is based on top of #1953 - to be reviewed after that work is committed.
You can view, comment on, or merge this pull request online at:
https://github.com/xrootd/xrootd/pull/1954
Commit Summary
- 1e20fbd Add helper class for parsing cache-control header
- b0c6baa Add initial `cache-control` support to PFC
- e63f575 Add support for the cache-control header
- b8f58b5 Implement the HTTP cache control `only if cached` behavior.
File Changes
(12 files)
Patch Links:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1954@github.com>
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/pull/1954",
"url": "https://github.com/xrootd/xrootd/pull/1954",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1