The easiest method to check that your site is being cached is to utilize Google Chrome's console to view your websites response HTTP headers. In Google Chrome, follow the steps below to view your websites HTTP headers.
- Using Chrome, visit your website, right-click and select Inspect to open the developer tools.
- Select the Network tab.
- Reload the website and the select any HTTP request from the left panel, the HTTP headers will be displayed in the right panel.
- You'll be looking for the x-cdn-cache-statusresponse to determine if the website has been cached. Please see the table below for the various responses you may see.
|
HIT |
The websites static content was requested from Arahoster's CDN. |
|
MISS |
The websites static content was not found in Arahoster's CDN and was loaded from the origin server. You will see this on the first load of a website, subsequent reloads should show cache HIT. |
|
BYPASS |
The origin server instructed the Arahoster CDN to bypass cache. You will see this if you're within the WordPress Admin - this ensures you'll always see the latest changes you make. |
- Note:If you have other caching plugins such as W3 Total Cache or WP Super Cache these may interfere with the CDN and cause a cache MISS, these plugins can be disabled.