Welcome! Log In Create A New Profile

Advanced

proxy_no_cache issue

June 30, 2010 03:52PM
I understand you can use proxy_no_cache to update the cache, my setup is like this:
proxy_cache_valid 200 302 20m;
proxy_cache_valid 404 1m;
proxy_no_cache $http_my_secret_header;

And I send the header like this : curl -H "My-Secret-Header: 1" "www.example.com"

Which seems to pull the updated information, however if I understand it properly it should update the cache with latest response. But it's not doing that, all the new hits are pulling information from cache till actually cache expires. Any idea on how to do this properly ?
Subject Author Posted

proxy_no_cache issue

msony June 30, 2010 03:52PM

Re: proxy_no_cache issue

Piotr Sikora June 30, 2010 04:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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