Is Ezoic's CDN or The Caching App Working On My Site?
Modified on: Wed, 27 May, 2020 at 7:08am

Jump To:

How can I tell if Ezoic's cache is working?

What I'm seeing cache Miss?



If you're either integrated via name servers or cloudflare, you'll be able to cache and serve your site content for free on our global CDN using the caching app. But how do you know that it's working correctly? The easiest way to verify this is by checking for the x-ezoic-cdn response header in Google developer console. 


To access this: 


  1. Press the F12 key whilst in a chrome window to launch the Google developer console.

  2. Click 'Network' in the bar at the top of the console.

  3. Look for your domain name in the list of files (it should be right near the top of the list).

  4. Click the Headers tab and look for x-ezoic-cdn. If it says 'Hit' , then content is being served to the page from Ezoic's cache. If it says 'Miss' , then it isn't. If you don't see the header at all, then chances are, caching is turned off. 


NOTE: Ezoic caching will not function with Wordpress plugin integration. If you wish to use our caching, you'll need to integrate via either Name servers or Cloudflare.


cdn and wordpress


What happens if I'm seeing a cache 'miss' ? 


Don't panic! There are several reasons why you'd see a cache miss on the site. For example, if you're the first person to go to the page since the cache has refreshed. You need to make sure that there are significantly more cache hits than misses to your site on the whole. You can verify this by going to 'Ezoic Caching' in the site speed tab of Big Data Analytics:


image



Seeing lots of cache Misses? 


Ezoic will always obey the rules set on your site first. This means existing cache headers on your site may have pre-existing rules set to prevent Ezoic from caching a page or site with our CDN.


These rules could be set by a plugin or extension if you use a common CMS, like WordPress or Joomla. They could also be set at your host as well.


Ezoic can alter our caching to override these rules by opting to 'override caching control headers', but before you do so, you'll need to make sure that this won't have a negative effect on your site set up. If you're unsure, you can reach out to your host or plugin / extension provider (whoever is setting the rules) before setting this option to 'true' in Ezoic's caching app.



Loading ...