: 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
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.
More posts by @Goswami781
4 Comments
Sorted by latest first Latest Oldest Best
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.
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.
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.