Using Cloudflare Rocket Loader with X Theme 5 and Themeco Pro

Michael BourneUpdated:

Cloudflare has quickly become a popular choice among X users, and that’s no surprise. But early on we all noticed one distinct problem: Rocket Loader didn’t play nicely with Cornerstone.

We quickly discovered that using a page rule to exclude cornerstone URLs from performance was the key to success. But with this new update, the target URL has changed. This is what you need to change your page rule to if you upgrade to X Theme 5 or Themeco Pro:

Cloudflare Pagerule

*domain.com/x/*

However, if you have changed the path of the builder in the settings (the following image), or yours is different (some have reported seeing “pro” as the default slug, replace “x” in the page rule with the proper slug.

Custom Cornerstone path

That’s it. Remember this is only necessary after upgrading from X Theme 4. Chris Schwartz has pointed out that you may need to clear your cache(s) in order for this to take effect, so it’s likely a good idea to do that as well.

Bonus settings: it has been confirmed that minification in CloudFlare can break X Theme 5 and Pro Theme, so be sure to disable them.

CloudFlare Speed Settings

Have a question or a comment about this article? Click here!
About the Author

Michael Bourne

Facebook

Hey, I'm Michael, and I've been making websites since the mid 90s! These days I focus on Wordpress and would call myself quite handy in PHP, JS, and CSS. Outside of coding and web design, I'm quite fond of craft beer and backpacking around the world.

Share this Tip!

There are 7 comments

Your email address will not be published. Required fields are marked *