Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CDN

Security covered Maintenance fixes only 3,834 sites

This module integrates with Content Delivery Networks (CDNs) to serve your website's files, such as CSS, JavaScript, and images, from the CDN instead of your web server. It automatically adjusts file URLs to point to the CDN, improving site performance and offering features like preconnecting to the CDN and optimizing file caching.

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
Drupal 9–10 · not 11 PHP 8.1

Ask your assistant about CDN

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
5.0.0-alpha1 Pre-release 10–11 PHP 8.3 May 5, 2024
5.x-dev Dev 10–11 PHP 8.3 May 2, 2024
4.1.0 Stable 9–10 PHP 8.1 May 2, 2024
4.0.2 Stable 9–10 PHP 8.1 Dec 22, 2023