Re: Exclude from cache by content-length

2018-04-16 Thread Andrei
Thanks Maxim! On Mon, Apr 16, 2018 at 9:20 AM, Maxim Dounin wrote: > Hello! > > On Mon, Apr 16, 2018 at 03:16:13AM -0500, Andrei wrote: > > > I have an odd upstream application (out of my control) which sometimes > > responds with incomplete pages, and a 200 error.. This causes blank pages > > t

Re: Exclude from cache by content-length

2018-04-16 Thread Maxim Dounin
Hello! On Mon, Apr 16, 2018 at 03:16:13AM -0500, Andrei wrote: > I have an odd upstream application (out of my control) which sometimes > responds with incomplete pages, and a 200 error.. This causes blank pages > to appear in cache. Is there a way to exclude from/bypass cache if the > content-le

Exclude from cache by content-length

2018-04-16 Thread Andrei
Hello! I have an odd upstream application (out of my control) which sometimes responds with incomplete pages, and a 200 error.. This causes blank pages to appear in cache. Is there a way to exclude from/bypass cache if the content-length header from the upstream is lower than 5kb for example? Than