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/05/08 16:17:01 UTC

[jira] [Comment Edited] (TS-3583) cache.config action=never-cache

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

Leif Hedstrom edited comment on TS-3583 at 5/8/15 2:16 PM:
-----------------------------------------------------------

Edited: Actually, I'm not 100% sure if it'll merge the actions, but clearly the last rule matching will be applied


was (Author: zwoop):
I'm saying, if you have multiple rules that match, all actions are applied. If they are the same actions, I think (but you should double check) the last one wins. But its important to realize that just because one rule matches, the others will not apply. They are all evaluated, and it will apply all actions for all rules that matches.

> cache.config action=never-cache
> -------------------------------
>
>                 Key: TS-3583
>                 URL: https://issues.apache.org/jira/browse/TS-3583
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Faysal Banna
>             Fix For: sometime
>
>
> Hello Guys 
> in cache.config i have 
> url_regex=.*leagueof.* action=never-cache 
> as the first rule in cache.config
> and i purged all files or url's for that contains http://.*leagueof.* 
> now in the squid.log i get 
> 1430817070.971 238 127.0.0.1 TCP_MISS/200 89507 GET http://news.cdn.leagueoflegends.com/public/oembed/0.0.173/img/patchnotes/full/background.jpg - DIRECT/news.cdn.leagueoflegends.com image/jpeg 
>  1430817078.211 0 127.0.0.1 TCP_HIT/200 89576 GET http://news.cdn.leagueoflegends.com/public/oembed/0.0.173/img/patchnotes/full/background.jpg - NONE/- image/jpeg
> how can this be ? 
> trafficserver 5.2.0 
> Much Regards 



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