I don't see cache hit

I connected my Cloudflare to my blog. I look at the image headers and it doesn’t show cache: hit. The image is served from the same remote address as the origin server.

Any idea what can I do to verify that images are cached from Cloudflare CDN?


1 Like

What’s the url of one of those images?


This is one:


That got a HIT on the first try. What headers are you seeing?

Using Google Chrome to check the response headers for the image:

  1. accept-ranges:


  1. cache-control:


  1. content-encoding:


  1. content-type:


  1. date:

Sat, 31 Aug 2019 21:28:04 GMT

  1. etag:


  1. expires:

Sun, 08 Sep 2019 21:28:04 GMT

  1. last-modified:

Sat, 31 Aug 2019 18:48:18 GMT

  1. server:


  1. status:


  1. strict-transport-security:

max-age=63072000; includeSubDomains

  1. vary:


  1. x-content-type-options:


  1. x-frame-options:


1 Like

That’s not going through Cloudflare, as shown by a lack of cf- headers and Apache as the server.

So…for some reason, your DNS isn’t giving you Cloudflare’s IP address for your domain. How long ago did you add your domain to Cloudflare? It can take up to 48 hours for DNS to propagate.

1 Like

two hours ago. I check a website that checked the DNS and I do get cloudflare DNS entries. So it’s not consistent, I should wait 48 hours?

You can try flushing your browser’s cache, and/or using different Public DNS servers, such as Cloudflare’s or Quad9’s Otherwise, you may just have to wait for your ISP’s DNS to catch up.

The image URL is served from Cloudflare’s CDN, right? The URL of the image will be the same or different?

It will be the same. Cloudflare’s CDN is transparent.

1 Like

Appreciate your time sdayman. Thank you. I’ll try again a few hours from now.

1 Like

It’s ok.


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