Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache not working anymore in 1.8

Oleksandr V. Typlyns'kyi
June 01, 2015 07:52AM
Today Jun 1, 2015 at 13:28 Rene Moser wrote:

> Hi
>
> We use nginx as proxy_cache and identified a different somehow weird
> behaviour compared to 1.6.:
>
> In some situations we get a MISS or EXPIRED in 1.8, where with the same
> config, same resource and same origin, we got a HIT in 1.6.

> Response from ORIGIN:
>
> Cache-Control: public, max-age=49
> Content-Type: application/json; charset=utf-8
> Content-MD5: O+EP2TJJZQZr61/mhkVqdA==
> Expires: Mon, 01 Jun 2015 11:09:05 GMT
> Last-Modified: Mon, 01 Jun 2015 11:08:05 GMT
> Vary: *
> access-control-allow-origin: *
> Date: Mon, 01 Jun 2015 11:08:15 GMT
> Content-Length: 743

http://nginx.org/r/proxy_cache_valid
If the header includes the "Vary" field with the special value "*", such
a response will not be cached (1.7.7). If the header includes the "Vary"
field with another value, such a response will be cached taking into
account the corresponding request header fields (1.7.7).

--
WNGS-RIPE

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_cache not working anymore in 1.8

Rene Moser June 01, 2015 07:30AM

Re: proxy_cache not working anymore in 1.8

Oleksandr V. Typlyns'kyi June 01, 2015 07:52AM

Re: proxy_cache not working anymore in 1.8

Rene Moser June 01, 2015 08:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready