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 http://nginx.org/r/proxy_cache_valid) 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 http://nginx.org/r/proxy_ignore_headers).

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs