Welcome! Log In Create A New Profile

Advanced

Problem with proxy_cache_use_stale

Posted by vishalsharma 
Problem with proxy_cache_use_stale
November 20, 2012 04:17AM
Hi Friends,

I am using nginx as a reverse proxy to four of our major websites. Recently we noticed that "proxy_cache_use_stale updating" doesn't working.

e.g. I verified on my local machine by setting up nginx and backend server. I used cache expiration of 1 min. After 1min when I again make the request nginx waits for backend to recieve the updated response rather than return the response from stale cache.

Can any one help me point out what is wrong with my config (attached here with)?

Thanks
Vishal Sharma
Attachments:
open | download - nginx.conf (1.2 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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