Auto refresh for expired content?

Roman Arutyunyan arut at nginx.com
Thu May 18 11:44:04 UTC 2017


On Wed, May 17, 2017 at 09:07:30AM -0400, mkuehn wrote:
> Hi Roman,
> 
> thanks for your reply - with proxy_cache_background_update is OFF, the
> correct testfile "test.js"is requested:
> 
> "GET /test.js HTTP/1.0" 200 199503 "-" "Mozilla/5.0 (Windows NT 6.1; Win64;
> x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96
> Safari/537.36" 
> 
> 
> With proxy_cache_background_update is ON, the only "/" is requested:
> 
> "GET / HTTP/1.0" 200 32287 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36" 
> 
> Seems there is something wrong :/

What nginx version do you have?  Please update to the lastest version.
We made some fixes in the behavior of background update since it was released.

If it does not help, please provide more complete config (the part you sent
earlier does not even have proxy_pass).

-- 
Roman Arutyunyan


More information about the nginx mailing list