© 2020 Ezoic Inc.
Caching means that content is going to be stored somewhere so that it’s easily accessible and doesn’t have to make an external call back to the origin. This reduces the time for a visitor to access data on a website which in turn, improves your site speed.
The Caching app can be found in your Dashboard under the "Site Speed" tab:
Go to the app in your Dashboard and toggle the off/on switch to “on”:
* Please note that AMP pages do not get cached by our caching app
Our caching app will automatically respect whatever maximum age cache headers you have set up on your origin server end. However, if there is no maximum age specified in the cache headers, we will set a default 24 hour caching age. This means that your pages will be stored for 24 hours before it updates again.
You can always change this default caching age by clicking “Update Cache Settings Values” and setting the number of seconds under Default Cache Age (we have a minimum of 36000 seconds = 1 hour that must be set) then click “Update Domain Setting Values:
For Entire Site:
All you need to do to clear Ezoic’s cache for your entire site is click “Clear Cache” within the app:
For Single URL:
You can clear the Ezoic cache for single URLs by entering in the URL here and clicking “Clear For URL”:
You can add an exclusion rule within the app to exclude any pages, directories, URL params, or cookies from being cached by our system. All you need to do is:
1. Click “Add New Exclude Rule”:
2. Select your Rule Target:
Enter in the page, directory, URL param, or cookie to be excluded:
Be sure to click “Save Domain Setting Rule” when you are done!
You can use both Cloudflare caching and the Ezoic Caching app at the same time, as this will just give your site two layers of caching. You will just need to make sure your Cloudflare settings are set to "standard" or "aggressive" so it can be compatible with Ezoic's cache.
In terms of functionality, both caching systems work the same. However, Ezoic’s Caching App will use our CDN network while Cloudflare caching uses their own CDN network.
You can monitor your caching stats within Big Data Analytics by going to your Dashboard > Analytics tab > Site Speed side tab > Caching > Ezoic Caching.
If you are seeing multiple cache “misses” this could mean that...
1. You have caching rules set up on your end that could be preventing our cache to hit. Here are all rules that will prevent our cache from hitting -
You can simply change these rules on your server end or we can override any rules set up within our caching app sot that our cache will start hitting. Just reach out to your onboarding specialist or our support team and we can assist you with this!
*Please note that if you have a Vary by Cookie set, this may be important to the functionality of your site. Therefore, if we override this rule, our caching will ignore any cookies that are set for the use of changing content.
2. You have excluded pages from Ezoic testing the the Excluded Pages App (Dashboard > Content tab):
You have excluded pages from caching within the caching app already:
1. Click “Add Caching Rule”:
Select the Rule Target type:
Set the “Max Cache Time” (how often we should look for changes to this page) - the options range from 1 hour to 2 weeks:
Once completed, be sure to click “Add Caching Rule” so rule can be saved!
If you want to clear the Layout Tester cache of a specific page, a quick way to do this would be to...
1. Create a rule within the caching app here:
2. Add the URL of the single page or directory that you want to clear the cache for and click "Add Caching Rule" to save:
3. Click the refresh symbol to clear the cache of the page:
If you want to clear the Layout Tester cache for your entire site, please reach out to your Account Manager for assistance with this. Clearing the entire site cache while using Layout Tester can result in really slow site speed at first as the system will have to restart storing versions again.