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 2015/12/16 08:34:46 UTC

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

    [ https://issues.apache.org/jira/browse/TS-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059638#comment-15059638 ] 

Leif Hedstrom commented on TS-4020:
-----------------------------------

I hope to have this done, with a new set of plugin APIs as well, for 6.1.0.

> 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
>            Assignee: Leif Hedstrom
>              Labels: A
>             Fix For: 6.1.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)