Europe's Drupal Developer focused event is coming up between 19-22 July 2023 in Vienna! Meet core developers and the minds behind some of the key projects and initiatives!This module provides easy Content Delivery Network integration for Drupal sites. It changes file URLs, so that files (CSS, JS, images, fonts, videos …) are downloaded from a CDN instead of your web server.
It does not put your entire website behind a CDN.
Only Origin Pull
CDNs are supported. These are CDNs that only require you to replace the domain name with another domain name. The CDN will then automatically fetch (pull) the files from your server (the origin). Nowadays pretty much every CDN is an Origin Pull CDN.
The CDN module aims to do only one thing and do it well: altering URLs to point to files on CDNs. It supports:
- Any sort of CDN mapping
- Preconnecting: lets browsers connect to the CDN faster (as well as the older and less beneficial DNS prefetching)
- SEO: prevents CDN from serving HTML and REST responses, only allow files
- Forever cacheable files (optimal far future expiration, using
Cache-Control: immutable) - Auto-balancing files over multiple CDNs
- … and many more details that are taken care of automatically
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Module categories: Performance and Scalability
6,203 sites report using this module
- Created by Wim Leers on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Drupal 10 compatibility. Requires Drupal >=9.4 and PHP >=8.1. No new features since 3.6, only dropped BC layers and Drupal 10 compatibility.
Development version: 4.x-dev updated 17 Apr 2023 at 14:59 UTC
- Testing result: PHP 8.1 & MySQL 5.7, D10.1 427 pass all results
Last 3.x release, with 3 bug fixes (2 for Far Future, 1 for negated file extension conditions)
Development version: 8.x-3.x-dev updated 11 Dec 2022 at 21:28 UTC
- Testing result: PHP 8.0 & MySQL 5.7, D9.5 432 pass all results
Minor bugfix release with a minor new feature.
Development version: 7.x-2.x-dev updated 15 Apr 2022 at 13:25 UTC
- Testing result: PHP 5.3 & MySQL 5.5, D7 12 pass, 1 fail all results











