You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Miles Libbey (JIRA)" <ji...@apache.org> on 2015/11/12 23:40:11 UTC

[jira] [Created] (TS-4020) Cache_promote plugin LRU should use cachekey instead of url

Miles Libbey created TS-4020:
--------------------------------

             Summary: Cache_promote plugin LRU should use cachekey instead of url
                 Key: TS-4020
                 URL: https://issues.apache.org/jira/browse/TS-4020
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Miles Libbey


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)