A 503 page gets written to my proxy cache, overwriting the 200

rge3 nginx-forum at nginx.us
Thu Jan 16 19:50:41 UTC 2014

Maxim Dounin Wrote:
> An exiting cache can be bypassed due to proxy_cache_bypass in your 
> config, and 503 response can be cached if it contains 
> Cache-Control and/or Expires which allow caching.

Oh, I hadn't thought of that part about the bypass.  Okay, that makes
But what about the Cache-Control/Expires causing it to cache the 503... 
that can
still happen even if my "proxy_cache_valid" line doesn't list a 503?


Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246507,246517#msg-246517

More information about the nginx mailing list