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

cache_promote/background_fetch plugin LRU would benefit from access to the effective cache key (MD5)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • Plugins

    Description

      The Cache_promote plugin currently uses the URL when using the LRU policy. It would be better to use the cachekey, as that is actually going to be the index later.

      This would make any cachekey modifications also work for the promotion algorithm. For instance, if a domain has a (randomish) query string that gets removed for the cachekey, using the URL in the LRU would effectively never allow it to be promoted to cache, whereas the cachekey would.

      Attachments

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              mlibbey Miles Libbey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: