[PATCH 2 of 2] Cache: send conditional requests only for cached 200 OK responses

Piotr Sikora piotr at cloudflare.com
Sun Nov 23 11:45:42 UTC 2014


Hey Maxim,

> For example, it can be usable with 206 responses as well (and this
> is perfectly allowed by the RFC).

206 responses won't be cached by nginx, so that's kind of a moot point.

> I still think this approach is wrong, the behaviour shouldn't
> depend on the status code.

Why not? How else do you want to fix this problem?

I really don't understand why do you disagree, because it's pretty
clear to me that it MUST depend on the status code... What more
convincing do you need?

Best regards,
Piotr Sikora



More information about the nginx-devel mailing list