What is D2M Hosting CDN?

The D2M Hosting CDN is a powerful content distribution network (or content delivery network) that uses physical, highly optimised servers across the world to cache the content of your websites served from the D2M Hosting platform. Cached content of the data is stored at multiple CDN nodes so global customers will connect directly to CDN nodes instead of directly to our local network, resulting in content being served faster and your websites loading quicker. 

It's included for no extra charge with our Web Hosting, WordPress Hosting, Reseller Hosting and Managed VPS packages.

What are the benefits of a CDN?

Content is actively cached: Every global CDN node actively caches static files. This offers an enhanced and consistent user experience to visitors everywhere - at the same time, page speed is improved and you'll deliver better-performing sites to your users.

Latency is reduced: The D2M Hosting CDN has highly connected CDN nodes globally - this means your users will always reach a CDN node close to them, reducing latency and improving website load times. 

Improved SEO: With D2M Hosting's CDN, you’ll get a Website Acceleration Suite which gives you the tools to help get your Google PageSpeed Score to 100/100. You’ll be able to select the One-Click Optimisation section to add the recommended settings which should add the ideal, safe settings to improve website load times. Because page speed is a direct ranking factor for your websites ensuring these options are selected within the D2M Hosting control panel can help ensure your websites are optimised for SEO.

You can power-up your websites using D2M Hosting's  CDN from within your D2M Hosting account.

 

Understanding the D2M Hosting CDN

The CDN itself is used to cache static content. By default, the following file types are cached for 60 minutes before being purged automatically.

bmp class css csv
doc docx ejs eot
eps gif ico jar
jpeg jpg js mid
midi otf pdf pict
pls png ppt pptx
ps svg svgz swf
tif tiff webp woff
woff2 xls xls2 robts.txt

This type of cache is referred to as our Edge Caching as it's cached at our network edge (a.k.a the CDN nodes). This cache can be purged at any time from the Edge Caching section within your control panel, this is accessed via Manage Hosting -> Manage -> Edge Caching. Head down to the Purge Cache section to clear all the cached static content from all CDN nodes. 

 

What is Dynamic Cache?

CDN and StackCache can work complementary to each other. CDN will handle static cache of static file types, whilst StackCache can handle dynamic cache.

For websites on the WordPress Platform (i.e. with StackCache), dynamic content is cached with the default expiry times set.

Image Cache 1 day
CSS Cache 1 day
JavaScript Cache 30 days

You can edit these values from the Edge Caching section or directly from within StackCache in the WordPress admin area. In addition, you can cache any other dynamic content using public Cache-Control and Expires headers via a .htaccess file - however, this is recommended only for advanced users only. 

 

How to check your website is being cached.

The easiest method to check that your site is being cached is to utilise 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 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-status response 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 D2M Hosting's CDN.
MISS The websites static content was not found in D2M Hosting'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 D2M Hosting CDN to bypass the cache. You will see this if you're within the WordPress Admin - this ensures you'll always see the latest changes you make.
  • CDN, Edge Caching, Caching, cached, WordPress Hosting, Web Hosting, Purge Cache, StackCache, WordPress, HTTP
  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

How long is website data cached for at a CDN node?

The CDN itself is used to cache static content. By default, the following file types are cached...

Pages that receive a cache BYPASS

There'll always be some pages that you'll rarely ever want to cache. On some of these pages, we...

What is the Website Acceleration Suite?

  Overview D2M Hosting's CDN powers-up your websites further by feeding them through our...

CDN Statistics

With the free D2M Hosting CDN, you can get an understanding about the traffic and requests...

Do I need caching plugins in addition to the D2M Hosting CDN?

The short answer is no, the D2M Hosting Content Delivery Network takes care of caching for you....

Powered by WHMCompleteSolution