Welcome! Log In Create A New Profile

Advanced

Re: Is cache being used?

July 28, 2011 04:09AM
Thanks, Ben, but in this case I need to server even static objects from frontend servers, not backend.

Hi, Igor. Version is nginx/1.0.5
In my common config file I see "expires 24h;" I see no other expires directive.

But wait!
I've commented out "proxy_cache_min_uses" parameters, so it defaults to 1
Now, first request returns a MISS header, but next request DOES returns a "X-Cache-Status: HIT"

Maybe my "problem" was with the proxy_cache_min_uses parameter, as I wasn't making the same request three times?
Humm... not sure, I've refreshed same page about hundreds of times :-)
Now I'm tailing -f both logs and I see all files are server by proxy without taking them from the original backend server

Thanks both for your answers, and sorry for this newbie question :-S
Subject Author Posted

Is cache being used?

egrueda July 26, 2011 11:54AM

Re: Is cache being used?

egrueda July 26, 2011 12:23PM

Re: Is cache being used?

Ben Lancaster July 26, 2011 12:28PM

Re: Is cache being used?

egrueda July 27, 2011 09:38AM

Re: Is cache being used?

Ben Lancaster July 27, 2011 12:54PM

Re: Is cache being used?

egrueda July 28, 2011 02:19AM

Re: Is cache being used?

Ben Lancaster July 28, 2011 03:36AM

Re: Is cache being used?

Igor Sysoev July 28, 2011 03:50AM

Re: Is cache being used?

egrueda July 28, 2011 04:09AM

Re: Is cache being used?

sureshvv October 21, 2011 04:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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