Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3993

Would like a way to mark cache objects as stale

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Cache
    • None

    Description

      We use stale-if-error to return cached content to clients in case of origin server failure. However, if an object is removed from the cache by a PURGE request, and the origin fails before another client requests the same object, an error will be served.

      Instead of using PURGE, we'd like a way to mark the cache item as stale, but not delete it, so it will be revalidated on the next request, and if the origin is unavailable, it can be served by stale-if-error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ftarnell Felicity Tarnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: