Re: Debugging Nginx Cache Misses: Hitting high number of MISS despite high proxy valid

2018-05-12 Thread Cherian Thomas
Thanks for this Michael. This is so surprising. If someone decides to Dos and crawls the website with a rogue header, this will essentially bypass the cache and put a strain on the website. In fact, I was hit by a dos attack that’s when I started looking at logs and realized the large number of

Re: Serving from cache even when the origin server goes down

2015-06-30 Thread Cherian Thomas
tale error timeout invalid_header updating; > > Cherian Thomas > 30 Jun 2015 03:27 > > Is it possible to configure Nginx to serve from cache even when the origin > server is not accessible? > > I am trying to figure out if I can use a replicated Nginx instance that

Serving from cache even when the origin server goes down

2015-06-29 Thread Cherian Thomas
Is it possible to configure Nginx to serve from cache even when the origin server is not accessible? I am trying to figure out if I can use a replicated Nginx instance that has cache files rsynced (lsyncd