We have enabled all possible & suggested page rules for our wordpress website but still the header response in the browser shows cf-cache-status as “BYPASS”.
Is there anyway that we can find and fix this? It should be shown as “HIT” if I am not wrong.
We are new to this cloudflare & caching. Please help us !
If the Set-Cookie header is present in the response, then the cache can not cache the response because it would end up setting the cookie on every client. So in this case the CF cache will send BYPASS instead of HIT or EXPIRED. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie
If you need any more help, feel free to post your headers here and I’ll take a look at them for you and let you know if there’s anything out of the ordinary.
Well your max-age value is in seconds, so those resources will be valid for around 6 months. It’s also worth noting that Cloudflare has many different cache zones and you won’t always get routed to the same zone. The caches are not shared between zones.
That seems reasonable, well done. You may consider setting an Edge Cache TTL for the catch-all at the bottom of a few minutes/hours if that makes sense for your website.
In any case, your Cloudflare is already performing very well.
This is the minimum time that your page will be saved at the edge, and you may have no control to update it. You shouldn’t set this too large for a dynamic website. You might want to start with 4 hours.
It’s hard to say. If the origin is slow, then the pages will always be slow on first load. But after a while the caches will warm up and things might get faster.
Depending on the size of the site and the amount of traffic that it sees, the caches may not warm up fully before the content begins to expire.
If you need to speed up your origin, perhaps ask your plugin provider if there are any things you can do.
Yes, many have good results with APO. It uses Workers rather than Page Rules to optimize for Wordpress and you will have to install a plugin. If you need help installing APO, perhaps start a new thread and it will catch the attention of someone who uses APO often.