Small doubt about cf cache status

cache

#1

Hi Guys… I have a small doubt on cf Cache status…

Recently i integrated my WordPress site with cloudflare using W3 total Cache.

I tested page score on pingdom . The first time it shows Cache status - miss and second time it shows - hit.

Every first time after somewhile it shows miss and then again second time it shows hit…

Y like that…


#2

This is normal. There are two causes for a MISS:

  1. Unused resources get purged from the Edge Cache quicker than heavily used resources.
  2. Each datacenter has many servers, and they don’t all sync their caches. You could get a MISS the first time, a HIT the second time, then hit a different server the third time and get a MISS.

Overall, heavily visited sites get more HITs.


#3

Oh i got the Point ThanQ


#4

Is there any way to get hit cache status every time


#5

For the reasons above, there’s no way to guarantee cache HIT.


#6

there is 2 options:

  1. adding secondary cdn behind cloudflare
  2. using other cdn and grey cloud it in cloudflare (in case you can protect it)

#7

How it works


#8

You would need to pay for a third party CDN, such as KeyCDN.

I used to do this, but I find Cloudflare does a pretty good job of caching frequently accessed resources. So I don’t pay for other CDNs.


#9

Hostry offers free generic CDN for EU+USA …

Can i use that cdn for this caching purpose


#10

You’re certainly welcome to give that a try.