Welcome! Log In Create A New Profile

Advanced

Re: nginx proxy MISS

Slawa Olhovchenkov
August 10, 2020 04:24AM
On Mon, Aug 10, 2020 at 03:26:25AM +0300, Maxim Dounin wrote:

> Hello!
>
> On Mon, Aug 10, 2020 at 12:13:09AM +0300, Slawa Olhovchenkov wrote:
>
> > Есть файл, не меняется, заголовков про expire не имеет.
> >
> > Response: {'status': 200, 'headers': {'content-length': '615700', 'x-rgw-object-type': 'Normal', 'accept-ranges': 'bytes', 'last-modified': 'Wed, 08 Jul 2020 01:35:48 GMT', 'connection': 'Keep-Alive', 'etag': '"1f722dbb169b83ea4f5897d638d39c8d"', 'x-amz-request-id':
> > 'tx00000000000000451618a-005f306158-a6edb7b-default', 'date': 'Sun, 09 Aug 2020 20:49:28 GMT', 'content-type': 'video/MP2T'}, 'reason': 'OK'}
> >
> > 188.242.226.75 :62964 [30/Jul/2020:21:01:48 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 MISS 0.000 0.016 616206
> > 212.164.64.179 :6700 [30/Jul/2020:21:01:50 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 109.94.87.178 :56019 [30/Jul/2020:21:01:51 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 165.225.66.51 :3581 [30/Jul/2020:21:01:46 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 MISS 0.000 0.043 616196
> > 176.59.135.87 :41598 [30/Jul/2020:21:01:47 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 178.184.45.0 :45255 [30/Jul/2020:21:01:50 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 85.26.233.17 :6656 [30/Jul/2020:21:01:59 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 91.214.220.143 :43841 [30/Jul/2020:21:01:59 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 128.71.141.232 :57462 [30/Jul/2020:21:02:31 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616330 HIT - - -
> > 5.167.161.39 :64139 [30/Jul/2020:21:02:36 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616316 HIT - - -
> > 95.105.98.204 :49869 [30/Jul/2020:21:02:34 +0300] "GET /720p_02815.ts HTTP/1.1" 200 616316 MISS 0.000 0.020 616032
> >
> > какие причины могут быть для возникновения MISS?
> >
> > зона не заполнена даже наполовину.
> > proxy_cache_path /cache keys_zone=RGW:1000m levels=2:2 max_size=6000g inactive=10d use_temp_path=off;
>
> Если выше показаны заголовки ответа бэкенда, то я в первую очередь
> не вижу, почему бы этому файлу кэшироваться. То есть - каковы
> причины для возникновения HIT?
>
> В отсутствии явно заданных заголовков Cache-Control / Expire /
> X-Accel-Expire - единственная возможная причина кэширования это
> директива proxy_cache_valid, если она в конфиге есть - то
> вероятнее всего отвечает на оба вопроса.

proxy_cache_valid 200 5d;

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

nginx proxy MISS

Slawa Olhovchenkov August 09, 2020 05:14PM

Re: nginx proxy MISS

Maxim Dounin August 09, 2020 08:28PM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 04:24AM

Re: nginx proxy MISS

Maxim Dounin August 10, 2020 08:42AM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 09:06AM

Re: nginx proxy MISS

Илья Шипицин August 10, 2020 09:40AM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 10:08AM

Re: nginx proxy MISS

Maxim Dounin August 10, 2020 12:14PM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 12:34PM

Re: nginx proxy MISS

Maxim Dounin August 10, 2020 01:18PM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 01:32PM

Re: nginx proxy MISS

Maxim Dounin August 10, 2020 02:08PM

Re: nginx proxy MISS

Gena Makhomed August 10, 2020 01:20PM

Re: nginx proxy MISS

Slawa Olhovchenkov August 10, 2020 01:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready