[PATCH 1 of 2] Cache: don't update cache if revalidated response is not cacheable

Piotr Sikora piotr at cloudflare.com
Tue Dec 23 01:46:53 UTC 2014

Hey Maxim,

> With the patch you've sent the response will not be updated in
> case (b), but will be updated in case (a).  And this difference is
> the problem.

It will be updated in both cases:
- in (a) it will use the "Cache-Control" from 304 response,
- in (b) it will use the "Cache-Control" from cached response.

How are you testing this?

Best regards,
Piotr Sikora

More information about the nginx-devel mailing list