Content Delivery Network (CDN)

Last updated on
29 March 2019

In many cases, it's very advantageous to integrate your Drupal site with a CDN

CDNs are globally distributed networks of proxy servers. A basic CDN integration will offload static assets (like images, videos, and sometimes CSS and JS) to the CDN. More advanced CDNs can deliver entire pages.

CDNs offer several advantages over serving all traffic directly:

  • Assets can be cached in a proxy which is geographically closer to the end user, which usually leads to lower latency and increased download speed;
  • Each page response is shared between your origin server and the CDN, meaning that your origin server can serve more concurrent requests;
  • By splitting a response across multiple servers, enhanced HTTP performance can be achieved via domain sharding, although this is becoming less advantageous with the increasing adoption of HTTP/2 and SPDY;
  • Some CDNs offer page optimisation services which can further enhance performance for end users.

CDN integration

To make the integration with a CDN easier, the CDN module can help.

If you want to get up to speed as fast as possible, the following are the key articles to read:

  1. Good intro on CDNs (beside the Wikipedia article): Key Properties of a CDN
  2. Tutorial: Easy Drupal CDN integration for fun and profit

Help improve this page

Page status: No known problems

You can: