Re: Simple question about proxy cache

On 17/03/13 23:08, Maxim D. wrote:

I’m wondering whether all requests are logged whether they’re cached or
This usually happens if your backend doesn’t specify allowed cache
time (in this case, proxy_cache_valid should be used to set one,
see Module ngx_http_proxy_module) or if backend responses
doesn’t allow cache to be used (either directly with
Cache-Control/Expires headers, or indirectly with Set-Cookie
header, see Module ngx_http_proxy_module).

Excellent - thanks, Maxim! That’s got me sorted now, it all seems to be
working as planned.