Print

Print


HTTP provides a standard set of commands, in the `Cache-Control` header, for manipulating the behavior of a cache.

This adds a framework for using these commands and adds preliminary support for the `no-store` / `no-cache` directives as requested in #1886 by @jthiltges.

This purposely does _not_ address some of the difficult concurrency issues (how to behave when a client reads from an already-open file handle) or implement `max-age`; those are intended for follow-up work.

Fixes #1886.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1953

-- Commit Summary --

  * Add helper class for parsing cache-control header
  * Add initial `cache-control` support to PFC
  * Add support for the cache-control header

-- File Changes --

    M src/XrdHttp/XrdHttpProtocol.cc (4)
    A src/XrdOuc/XrdOucCacheDirective.cc (85)
    A src/XrdOuc/XrdOucCacheDirective.hh (82)
    M src/XrdPfc/XrdPfc.cc (14)
    M src/XrdPfc/XrdPfcFile.cc (10)
    M src/XrdPfc/XrdPfcFile.hh (4)
    M src/XrdPfc/XrdPfcIOFile.hh (2)
    M src/XrdUtils.cmake (1)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1953
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