You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/05/06 14:19:13 UTC

[jira] [Created] (TS-4422) CLONE - Cache_promote/background_fetch plugin LRU should use cachekey instead of url

Leif Hedstrom created TS-4422:
---------------------------------

             Summary: CLONE - Cache_promote/background_fetch plugin LRU should use cachekey instead of url
                 Key: TS-4422
                 URL: https://issues.apache.org/jira/browse/TS-4422
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Miles Libbey
            Assignee: Leif Hedstrom
             Fix For: 7.0.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)