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

Need a way to disable Vary: Accept-Encoding checking so a plugin can take care of that

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: HTTP
    • Labels:
      None

      Description

      I was using the "proxy.config.http.cache.ignore_accept_encoding_mismatch" config setting and providing alt selection hooks to try to let a plugin take over handling of gzip vs uncompressed content, but I found that the checking of Vary: Accept-Encoding headers happened before alt selection, and so the plugin never got the chance to say "gzip content is fine, I will transform it before sending it". So I added additional meaning to that setting to fix that. Perhaps the code should be attached to an all new config setting, but I found the existing meaning of that setting to not do enough.

        Attachments

        1. vary_accept_encoding.diff
          2 kB
          William Bardwell

          Activity

            People

            • Assignee:
              zwoop Leif Hedstrom
              Reporter:
              wbardwel William Bardwell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: