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

Add an API to query if a response header would be cacheable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • TS API

    Description

      It would be useful for a plugin to be able to take e.g. a response header (a Hdr object) and ask the HttpSM if this response would be cacheable or not. It should use the same logic (and configs) as the core does normally.

      Attachments

        1. TS-1622.diff
          2 kB
          Leif Hedstrom

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: