Percent Cached suddenly dropped from 78% to 20%


#3

still better than my 3% cached


#4

no changes that I’m aware of. It’s https://girleatworld.net


#5

Loading your site only loads a few elements from your site and most resources from wp.com, which are not necessarily cached and where Cloudflare has no effect on, however these requests should influence your caching rate either. The resources from your site where however served from cache.

Can you post a screenshot of your Analytics screen?


#6

how can i check if cloudflare is caching my website? I looked at site response header and CF-Cache-Status is missing. I also found that Cache-control is set to no-cache. Could this be why?

My website was getting a 50% increase in visitors in the past month, but they are from the same countries as before.


#7

The headers do show the cache status and they do show that your files are being cached.

image

Can you post a screenshot of what you described?


#8

Hi Sandro,

I checked it via redbot:
https://redbot.org/?uri=https%3A%2F%2Fgirleatworld.net


#9

That particular test checked your main page which will never be cached, unless you enabled “cache everything”. But as you can see from the previous screenshot the standard resources are cached successfully.


#10

I see, thanks for the explanation. I still don’t know why the % of cache hit rate went down so much :confused: i havent changed anything


#11


#12

Do you mean this part?

Here is the one that shows the drop:


#13

It would seems as if the number of visitors stayed the same, the number of requests even increased, but data served and cached dropped.

As I mentioned in my earlier response a lot of your content is served via wp.com and not your site. Could it be your host changed something in the way your site serves data (from their domain instead of yours) which explains this drop? However the increase in total requests would be still contradictory to this theory.


#14

yeah i have no idea… but I know for images and resources it had always been served via wp.com since I am using jetpack. I’ve just disabled it for resources (since your replies has made me realize CF only caches stuff served from my domain), but I need to keep it for images.

So no i’m fairly confident nothing has changed in terms of where my resources were being served.

Also on Mar 7-9, I was out of the country without laptop access. Pretty sure I didn’t do any changes. So weird!!


#15

I am afraid I would not have an answer either. The drop in total traffic seems to coincide with the drop in caching percentage, though the latter is actually a percentage and should not be affected by a total number. Also, as mentioned previously, the number of request actually went up.

Maybe someone else here could have an explanation, alternatively you could try with a support ticket, though I somewhat doubt you’d get a meaningful response from there either :man_shrugging:t2:

@cscharff maybe


#16

yeah, i’ve submitted a ticket and didn’t really get any response yet. Thank you for trying!


#17

Post the Ticket #. Sometimes the mods check on support tickets to see how they’re going.


#18

Ticket number is 1657200. I got an automated response, and no reply since


#19

I have one more question. What does percent cached really mean? Is it % of requests, or is it % of assets served from my site?

Thanks again for all your help so far!


#20

I would understand it as the percentage of traffic that was served directly by Cloudflare without being forwarded to the origin.


#21

Just an update, i received the following response from cloudflare support

By running a cache performance test on one page of your site (https://girleatworld.net), I was able to see that we are only caching about 20% of the returned assets, as you mentioned. We are not able to cache the other ~80% of your resources because they are external assets. To improve the percentage of cached resources on your page, you can move those externally hosted resources to your own website instead. This will allow Cloudflare to cache a larger percentage of your site.

So it seems that percent cached is not % of traffic, rather % of asset? Sounds weird to me. I’ve asked for clarification and still waiting for reply.


#22

@cloonan @cscharff, can you clarify?