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

During 3xx redirect follow, TS uses the redirect url as the cache key ignoring any cache key set via API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • HTTP
    • None

    Description

      Currently, during 3xx redirect follow, TS uses the redirect url (as received in the Location header of the 3xx response) as the cache key for storing the subsequent response to the redirect follow request. This works fine in most cases, since, the original client request would have cached the 3xx response and the final response would still be derived using the redirect follow url. This also allows direct requests to the redirect follow location be served from the cache efficiently.

      However, this is not desirable in some cases, especially when there's a TS API (plugin) modifying the cache key and wanting to store the final response against the modified cache key directly.

      Proposing to add a config setting to allow storing API set cache key during redirect follow.

      Attachments

        Issue Links

          Activity

            People

              sudheerv Sudheer Vinukonda
              sudheerv Sudheer Vinukonda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: