имеем сервис работающий по https все ресурсы имеют уже сжатые копии в gzip и
brotli

конфигурация для ресурса:

location ~* \.(?:manifest|webmanifest)$ {
    etag            on;
    add_header      Cache-Control "public, max-age=60";
    add_header      X-Content-Type-Options  "nosniff" always;
}

сервер отдает ресурсы с заголовками

cache-control: public, max-age=60
content-encoding: br
content-type: application/manifest+json; charset=utf-8
date: Thu, 03 Jun 2021 00:22:26 GMT
etag: W/"60b812ee-436"
last-modified: Wed, 02 Jun 2021 23:23:26 GMT
server: nginx
vary: Accept-Encoding
x-content-type-options: nosniff

при повторном запросе в заголовках запроса нет ни If-None-Match ни
If-Modified-Since

почему?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,291736,291736#msg-291736

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить