chevron_right
chevron_right
Integrating via Cloudflare: Frequently Asked Questions
Informational/Resource

Integrating via Cloudflare: Frequently Asked Questions

Last Updated over a month ago
Article Navigation
Introduction
Overview

Introduction

Integrating your site with Cloudflare through Ezoic can offer enhanced performance and security benefits. However, you might have questions about what changes this integration entails and how it affects your existing settings. This article aims to address common queries related to integrating via Cloudflare, including what modifications occur on your Cloudflare account, handling CSS caching, the use of Cloudflare's proxy settings, managing Page Rules, and the process for uninstalling the Cloudflare app. By the end of this article, you will have a clear understanding of how Ezoic interacts with Cloudflare and how to optimize both services for your site.

Overview

What will be changed on my Cloudflare account?


Once you integrate, the system will point your DNS records to Ezoic, so we can work as a proxy for your site. We will also turn off rocket loader. This is because rocket loader will load js scripts asynchronously and that hinders any scripts we may need to put on the page. No other changes will be made to your settings (and your original settings will be restored if you decide to remove integration).

 

What about CSS Caching?


If you're using Cloudflare, they will cache your CSS for a long time. This means that if you make changes to your CSS, it will take a while before seeing them on the live site. 

The canonical way of dealing with this is to change the HTML to include a query parameter at the end of your link to the CSS. Even though your server will ignore the query parameter, every time you change its value it will cause Cloudflare to re-query your server for content, and will then cache the new version. 

Learn more about CSS caching with Cloudflare at our support article here.

 

Should sites leave Cloudflare's proxy setting on if it is toggled on inside their Cloudflare account?

Sites should leave Cloudflare proxy on their domains (root domain and www). Ezoic uses Cloudflare for more advanced image/ video caching so there is no disadvantage of using the Cloudflare proxy + Ezoic's Cloud which also includes a proxy.

The Ezoic proxy will be enabled by default for those records where the Cloudflare proxy is enabled. Ezoic pulls that information in and will display it under the Settings tab in the DNS section of the Ezoic user dashboard.


How do Page Rules with Cloudflare work?


Page Rules within Cloudflare give you the ability to fine tune your caching behavior for specific URLs. You can continue to use Page Rules with Ezoic, just be sure that you set the cache level to 'Bypass' or 'Standard'. Any of the other options will interfere with Ezoic's optimization.

 

Uninstalling the Cloudflare app


If you uninstall the CF app in Ezoic, all the changes that the system made to your account (to let the traffic routing take place) are reversed and the account reverts back to your initial settings.

× Enlarged Image

Loading ...