curl -I says X-Cache-Status: MISS

Yuriy Medvedev medvedev.yp at
Tue Sep 6 06:58:39 UTC 2016

Miss status, it's file should be caching in next request. It's normal for file not in cache. 

Отправлено с моего ASUS

-------- Исходное сообщение --------
Отправитель:Brent Clark <brentgclarklist at>
Отправленные:Tue, 06 Sep 2016 09:46:25 +0300
Получатель:nginx at
Тема:curl -I says X-Cache-Status: MISS

>Good day Guys
>Im trying to get to grips and understand caching.
>So I can see nginx caching wonderfully (all in all everything is 
>working), but for my own understanding and peeking under the hood.
>I just decided to see what inside one of the cache files and one of the 
>things that got my attention was
>cat /storage/imgcache/2/05/f8484e99c2d4e7659020a0fa96a22052
>So here now is my question, if I do :
>bclark at bclark:~$ curl -I 
>HTTP/1.1 200 OK
>Server: nginx
>Date: Tue, 06 Sep 2016 06:34:23 GMT
>Content-Type: image/jpeg
>Content-Length: 9052
>Connection: keep-alive
>Last-Modified: Mon, 05 Sep 2016 15:22:03 GMT
>ETag: "235c-53bc43e026b87"
>Cache-Control: max-age=31536000, public
>Expires: Wed, 06 Sep 2017 06:34:23 GMT
>Vary: User-Agent
>Pragma: public
>X-Powered-By: W3 Total Cache/
>X-Cache-Status: MISS
>Accept-Ranges: bytes
>See the X-Cache-Status.
>Does anyone know why it says MISS?
>If I run the same curl command again, it says HIT.
>Many thanks
>nginx mailing list
>nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list