Cloudflare is running on our site but it is not caching - please help!

We are using Cloudflare, full version for our website at https://www.azam.info/ .

Our webhost has CF integrated functionality in Cpanel and that is set to active. We have also set-up the CF plugin in Wordpress to be active. We have also installed and configured the ’ WP Cloudflare Super Page Cache’ Wordpress plugin and that, too, is active.

CF is RUNNING, but it is not CACHING. It has the following status for our website:

"cf-cache-status:

DYNAMIC"

It has the same response on different webpages on this website.

How can we make CloudFlare cache our site please?

Thank you very much. I greatly appreciate your co-operation.

I’ve noticed that Cloudflare is also not caching our other websites e.g. https://www.azam.net/ which is also showing:

" cf-cache-status:

DYNAMIC"

We’ve spent many days switching our sites to Cloudflare, so would very much appreciate your help.

We are using Cloudflare, full version for our websites at https://www.azam.info/ (Wordpress), https://www.azam.net/ (not Wordpress) and others.

Our webhost has CF integrated functionality in Cpanel and that is set to active. We have also set-up the CF plugin in Wordpress to be active. We have also installed and configured the ’ WP Cloudflare Super Page Cache’ Wordpress plugin and that, too, is active.

CF is RUNNING, but it is not CACHING. It has the following status for our website:

"cf-cache-status:

DYNAMIC"

How can we make CloudFlare cache our sites please?

We’ve wasted many days trying to set things up with CloudFlare and its demoralising to not see the cache work on our different websites, so would very much appreciate some guidance please.

Thank you very much. I greatly appreciate your co-operation.

2 Likes

Could somebody kindly help with this problem please? We’re not getting any response from anyone at Cloudflare.

Many thanks!

Try a page rule and setting something like this:

1 Like

I’ve spent many hours looking for the ideal rules to set for regular Wordpress websites, but there doesn’t seem to be any clear guidance.

After reading various places, we’ve created the following Cloudflare Page Rules:

What would be the optimal Page Rules to set-up for a standard (non e-commerce) Wordpress blog please?

Also, for a non-Wordpress straight HTML website?

We are on the free package of Cloudflare.

Thanks a million. I’m grateful for your assistance.

If your WP site is static, meaning it does not contain pages with content that vary based on the login status of the visitors, and it does not accept comments from visitors, you can set two rules to make Cloudflare cache the HTML of pages and posts.

You merge together your first two rules:

URL: www.example.com/wp-*
Security Level: high
Disable Rocket Loader,
Disable Apps

URL:www.exeample.com/*
Cache Level: Cache Everything
Browser Cache TTL: a day
Edge Cache TTL: 30 days

The first rule will apply to both /wp-login.php and /wp-admin/* files, as well as to /wp-content/* and other wp-* files. For that reason, no caching policy should be set, letting Cloudflare apply the default accordingly (no caching for /wp-login.php and /wp-admin/* files, but standard caching for /wp-content/* static files).

The second rule will apply to the front end, caching all pages and posts for a day at the browser, for longer at the edge (CF datacenters), until they are purged somehow, which you can do automatically by using the Cloudflare plugin.(Auto Purge Content On Update)

5 Likes

Thank you ever so much! That’s hugely appreciated.

Just for my curiosity, why do we need to disable Rocket Loader please?

Importantly, you mention that the rules are for a site that “does not accept comments from visitors”. A couple of our blogs do (e.g. https://www.azam.info/ ). So does that mean they can’t be classified as ‘static’?

What settings should we set for such blogs please?

Thanks enormously for your help floripare.

Rocket Loader will improve the speed of your front end, but can have bad side-effects on your backend. Many users have reported here in the community that RL interferes with page builders, such as Elementor, WPBakery (formerly Visual Composer) etc.

You want comments to be available as soon as the are posted, and cached pages will not deliver that. You should check APO, a recent, paid Cloudflare service that will cache only pages that are static. I don’t have experience running it, nor any other settings that will work for a blog with comments.

2 Likes

So, if a blog with comment system on, what should i change for 2 rules above to match that function?

1 Like

Great question by hoyhoa. I’d like to know the same thing please.

If you have an internal comment system, such as WordPress’ built-in Comments, then the site isn’t Static and shouldn’t be cached as such. You’d need more intelligent caching such as what the paid feature APO offers.

1 Like

Thank you. That’s helpful.

What about an enquiry form embedded into a Wordpress site that doesn’t allow comments. Can that be cached by (free version) of Cloudflare please?