Low level of cached requests

Good day!

I set up the new domain and it’s on Cloudflare as I can see. The Analytics tab shows me the next data for last 24 hours:

Total Requests 278,579
Cached Requests 51
Uncached Requests 278,528

Content Type Breakdown:

79% jpeg
19% png

Page rules:

1 ) * mydomain.ru/folder1/ *
Cache Level: Bypass
2 ) * mydomain.ru/folder2/ *
Cache Level: Bypass
3 ) * mydomain.ru/ * .jpg
Cache Level: Cache Everything

The images are not in folder1 and folder2.

The curl request for image:
curl -I https:// mydomain.ru/data/dir/2019-12-27_2019-12-31_dir_all_1576766313/4.jpg
HTTP/2 200
date: Sun, 29 Dec 2019 09:07:31 GMT
content-type: image/jpeg
content-length: 418229
set-cookie: __cfduid=d4718ce2df29736aa4550b20473ed5bc81577610451; expires=Tue, 28-Jan-20 09:07:31 GMT; path=/; domain=.mydomain.ru; HttpOnly; SameSite=Lax
set-cookie: antibot-hostia=true; path=/; domain=mydomain.ru; expires=Mon, 30-Dec-2019 09:07:30 GMT
last-modified: Thu, 19 Dec 2019 14:40:10 GMT
cache-control: max-age=1814400
expires: Sun, 19 Jan 2020 09:07:30 GMT
cf-cache-status: BYPASS
accept-ranges: bytes
expect-ct: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
server: cloudflare

All images requests go from mobile devices. If I try to get the image via browser then only after this curl -I return cf-cache-status: HIT.

I don’t understand why I have this low caching level. Why Cloudflare doesn’t caching the requests from mobile devices?

Thank you for your help!

Post an actual link to an image and a screenshot of your page rules.

Link to image example: http://mydomain.ru/images/1.jpg

If you visit it from browser it would be cached but visits from mobile application or via curl tool don’t trigger caching.

Could be the “antibot-hostia” cookie you are sending. Try to remove it and check if it still doesnt cache.

Thank you very much! It’s the solution:)

This topic was automatically closed after 31 days. New replies are no longer allowed.