Welcome! Log In Create A New Profile

Advanced

Re: Multiple upstream_cache_status headers in response in a dual-cache configuration

Maxim Dounin
October 06, 2017 07:28AM
Hello!

On Fri, Oct 06, 2017 at 03:05:52AM -0400, rnmx18 wrote:

[...]

> For the 6th request, I see the following:
>
> < X-UpStream-Server-Cache-Status: HIT
> < X-UpStream-Server-Cache-Status: HIT
>
> Why am I getting the header twice for the 6th request. In this case, the
> request is HIT by the SSD cache itself, and there is no request sent to
> local upstream also.

That's because the cached response already contains the header in
it.

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

Multiple upstream_cache_status headers in response in a dual-cache configuration

rnmx18 October 06, 2017 03:05AM

Re: Multiple upstream_cache_status headers in response in a dual-cache configuration

Maxim Dounin October 06, 2017 07:28AM

RE: Multiple upstream_cache_status headers in response in a dual-cache configuration

Reinis Rozitis October 06, 2017 07:40AM

Re: RE: Multiple upstream_cache_status headers in response in a dual-cache configuration

rnmx18 October 06, 2017 08:26AM

Re: Multiple upstream_cache_status headers in response in a dual-cache configuration

pbooth October 06, 2017 09:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
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