Hi Yugo,
Looks like you are right, I will post v3 with updates soon.
Thanks,
Vadim
On 20.04.2022 05:22, Yugo Horie wrote:
Hi, Vadim
We're pleased to have you share your patch!
src/http/ngx_http_upstream.c
```
4803 if (n == 0) {
4804 u->cacheable = 0;
4805 retur
Hi, Vadim
We're pleased to have you share your patch!
src/http/ngx_http_upstream.c
```
4803 if (n == 0) {
4804 u->cacheable = 0;
4805 return NGX_OK;
4806 }
```
We consider that X-Accel-Expires seems not to prioritize
Cache-Control:max-age=0, when it parses a
# HG changeset patch
# User Vadim Fedorenko
# Date 1650406016 -10800
# Wed Apr 20 01:06:56 2022 +0300
# Node ID a75449f4b5c98df0e5a0041eeaa1be5c82d92fea
# Parent a736a7a613ea6e182ff86fbadcb98bb0f8891c0b
Upstream: prioritise X-Accel-Expire over Cache-Control and Expire
RFC7234 explicitly say