Mobile app version of vmapp.org
Login or Join
Goswami781

: How to make CloudFlare Cache all pages CloudFlare seems to only cache my homepage, and I am wondering if there is a way to force it to cache all pages. Notice it when BlueHost went down

@Goswami781

Posted in: #Cache #CacheControl

CloudFlare seems to only cache my homepage, and I am wondering if there is a way to force it to cache all pages. Notice it when BlueHost went down today and only my homepage is cached by CloudFlare. Any thoughts?

This is the free account on a Wordpress site. However, pages have not been updated since launch.

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

4 Comments

Sorted by latest first Latest Oldest Best

 

@Sent6035632

That's not correct.

If you would like to extend CloudFlare's CDN to cache more than static content by default, you can use Page Rules to extend the caching capabilities to cache more content. Page Rules can be accessed by going to the settings for the domain that you want to create a Page Rule for.

If you want to cache everything on, say, www.yourdomain.com, then you would want to input the URL like this *yourdomain.com* (include the asterisks) and choose "Cache Everything" in the cache option drop down selectors.

By the way, if you have a WordPress site ~ caching everything can cause issues with admin and login sections of the site, and other logged in sessions. If you do not want to have caching function on these specific urls, then set Page Rules to exclude *yourdomain.com/wp-admin/ and *yourdomain.com/wp-login/ before creating a Page Rule to cache everything.

10% popularity Vote Up Vote Down


 

@Gretchen104

When you have a dynamic site (like WordPress) you should also activate the CloudFlare Railgun so that you get the maximum benefit out of the service. A lot of WordPress "pages" may not be cached by CloudFlare, especially if they change frequently (like an archives page). If your site falls into that category, Railgun may help you out.

10% popularity Vote Up Vote Down


 

@Sherry384

You cannot force cloudflare to cache all pages. All you can do is just keep on navigating through your site. Cloudflare is automatic, as soon as people visit your site it will cache it.

10% popularity Vote Up Vote Down


 

@Fox8124981

All pages should be cached.

Go to my.bluehost.com/cgi/cloudflare and on the domain in question, even though it says "active", click on "edit" and make sure it is "activated". It is not by default.

Additionally, under "Advanced", you can set cache level to more or less aggressive.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme