Running Cloudflare in Front of Your Custom Domain

When running Cloudflare in front of your custom Firmhouse Checkout domain, you need to disable certain Cloudflare optimizations that interfere with Firmhouse functionality. Specifically, Rocket Loader must be disabled for your checkout domain to ensure everything works correctly.

It's best to disable Rocket Loader fully and enable it for everything except the Firmhouse checkout, via a custom rule in your Cloudflare dashboard.

Disabling Rocket Loader

Steps

  1. Go to your Cloudflare dashboard

  2. Navigate to Speed > Optimization

  3. Find the Rocket Loader setting and disable it

Cloudflare Rocket Loader setting

Creating a Configuration Rule (Alternative)

If you want to keep Rocket Loader enabled for other parts of your site, you can create a configuration rule to disable it specifically for your checkout domain.

Steps

  1. Go to your Cloudflare dashboard

  2. Navigate to Rules > Configuration Rules

  3. Click Create new Configuration Rule

  4. Set the rule name (e.g., "Disable Rocket Loader for Firmhouse checkout")

  5. Configure the rule to match your checkout domain

  6. Set Automatic HTTPS Rewrites to disabled for the matching traffic

Cloudflare Configuration Rules

Last updated