CDN module version 2.5 on Drupal 7


This module provides easy Content Delivery Network integration for Drupal sites. It alters file URLs, so that files are downloaded from a CDN instead of your web server.

It provides two modes: "Origin Pull" and "File Conveyor".

  1. In Origin Pull mode, only "Origin Pull" CDNs are supported. (These are CDNs that only require you to replace the domain name with another domain name.)
  2. In File Conveyor mode, this module integrates with File Conveyor, which allows for much more advanced setups (e.g. optimize images, transcode videos, and so on, before syncing to the CDN).

Note: It is essential that you understand the key properties of a CDN, most importantly the differences between an Origin Pull CDN and a Push CDN. A good (and compact!) reference is the “Key Properties of a CDN” article.

The CDN module aims to do only one thing and do it well: altering URLs to point to files on CDNs.
It does as much as possible to make CDN integration frictionless & performant:

Live sites


Drupal 8
Drupal 7
Supported, critical bugfixes only, plus thoroughly community-tested patches
Drupal 6
Unsupported; only thoroughly community-tested patches get committed


Version 1 of this module (for Drupal 6) was written as part of the bachelor thesis of Wim Leers at Hasselt University.

Project Information