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

When proxy.config.http.negative_caching_enabled = 1 we cache errors even if Cache-Control: no-cache is sent from the origin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      HTTP/1.1 500 Internal Server Error
      Content-Type: text/plain
      Cache-Control: no-cache
      Date: Sun, 21 Jul 2013 17:20:00 GMT
      Expires: Sun, 21 Jul 2013 17:50:00 GMT
      Age: 38
      Content-Length: 40
      Connection: keep-alive
      Via: http/1.1 XXXXXXXXXX (ApacheTrafficServer/3.3.5-dev [uScHs f p eN:t cCHi p s ])
      Server: ATS/3.3.5-dev
      

      While this is a grey area since we are already breaking the spec by negative caching, I think we should still not cache this when explicitly told not to by the origin and zwoop agrees!

      Attachments

        Issue Links

          Activity

            People

              danobi Daniel Xu
              psudaemon Phil Sorber
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: