Print

Print


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 --

  * Add helper class for parsing cache-control header
  * Add initial `cache-control` support to PFC
  * Add support for the cache-control header
  * Implement the HTTP cache control `only if cached` behavior.

-- File Changes --

    M src/XrdHttp/XrdHttpProtocol.cc (4)
    M src/XrdHttp/XrdHttpReq.cc (16)
    M src/XrdHttp/XrdHttpReq.hh (2)
    A src/XrdOuc/XrdOucCacheDirective.cc (85)
    A src/XrdOuc/XrdOucCacheDirective.hh (82)
    M src/XrdPfc/XrdPfc.cc (22)
    M src/XrdPfc/XrdPfcFile.cc (17)
    M src/XrdPfc/XrdPfcFile.hh (6)
    M src/XrdPfc/XrdPfcIOFile.cc (4)
    M src/XrdPfc/XrdPfcInfo.cc (5)
    M src/XrdPfc/XrdPfcInfo.hh (7)
    M src/XrdUtils.cmake (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1954.patch
https://github.com/xrootd/xrootd/pull/1954.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1954
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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