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:18:12 UTC
[jira] [Commented] (TS-4020) Cache_promote/background_fetch 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=15274086#comment-15274086 ]
Leif Hedstrom commented on TS-4020:
-----------------------------------
For now, I want to do this simple fix, and work on the new API's for 7.0.0. [~psudaemon] Can we get this for 6.2.0? :)
> Cache_promote/background_fetch 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: 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)