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/04/08 19:35:25 UTC

[jira] [Updated] (TS-3350) Turning off cache in remap rule has unexpected Proxying cases

     [ https://issues.apache.org/jira/browse/TS-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-3350:
------------------------------
    Fix Version/s:     (was: 6.2.0)
                   7.0.0

> Turning off cache in remap rule has unexpected Proxying cases
> -------------------------------------------------------------
>
>                 Key: TS-3350
>                 URL: https://issues.apache.org/jira/browse/TS-3350
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration, Core
>    Affects Versions: 5.1.0
>            Reporter: Miles Libbey
>            Assignee: Gancho Tenev
>              Labels: A, C
>             Fix For: 7.0.0
>
>
> We are using 
> @plugin=conf_remap.so @pparam=proxy.config.http.cache.http=0
> in a remap rule.
> We see 2 unexpected proxying cases:
> 1) Cache-control: only-if-cached.
> Normally a request with this header will only return a 200 if the object is cached (504 if not cached).  We always get a 200 OK for these urls, suggesting the request is forwarded to the origin. (If the X-Debug plugin is installed, and X-Debug:X-Cache is also sent, the response indicates the cache was skipped.
> 2) PURGE.
> When we issue a PURGE request for urls matching this remap, it appears that the PURGE is proxied to the origin server.



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