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

Phil Sorber updated TS-2056:
----------------------------

    Description: 
{noformat}
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Cache-Control: no-cache
Date: Sun, 21 Jul 2013 17:20:00 GMT
Expires: Sun, 21 Jul 2013 17:50:00 GMT
Age: 38
Content-Length: 40
Connection: keep-alive
Via: http/1.1 XXXXXXXXXX (ApacheTrafficServer/3.3.5-dev [uScHs f p eN:t cCHi p 
s ])
Server: ATS/3.3.5-dev
{noformat}

While this is a grey area since we are already breaking the spec by negative 
caching, I think we should still not cache this when explicitly told not to by 
the origin and [~zwoop] agrees!

  was:
{noformat}
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Cache-Control: no-cache
Date: Sun, 21 Jul 2013 17:20:00 GMT
Expires: Sun, 21 Jul 2013 17:50:00 GMT
Age: 38
Content-Length: 40
Connection: keep-alive
Via: http/1.1 XXXXXXXXXX (ApacheTrafficServer/3.3.5-dev [uScHs f p eN:t cCHi p 
s ])
Server: ATS/3.3.5-dev
{noformat}

While this is a grey area since we are already breaking the spec by negative 
caching, I think we should still not cache this when explicitly told not to by 
the origin and zwoop agrees!

    
> When proxy.config.http.negative_caching_enabled = 1 we cache errors even if 
> Cache-Control: no-cache is sent from the origin
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-2056
>                 URL: https://issues.apache.org/jira/browse/TS-2056
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Phil Sorber
>              Labels: C
>             Fix For: 3.5.1
>
>
> {noformat}
> HTTP/1.1 500 Internal Server Error
> Content-Type: text/plain
> Cache-Control: no-cache
> Date: Sun, 21 Jul 2013 17:20:00 GMT
> Expires: Sun, 21 Jul 2013 17:50:00 GMT
> Age: 38
> Content-Length: 40
> Connection: keep-alive
> Via: http/1.1 XXXXXXXXXX (ApacheTrafficServer/3.3.5-dev [uScHs f p eN:t cCHi 
> p s ])
> Server: ATS/3.3.5-dev
> {noformat}
> While this is a grey area since we are already breaking the spec by negative 
> caching, I think we should still not cache this when explicitly told not to 
> by the origin and [~zwoop] agrees!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to