Screen shot 2010-10-12 at 22.30.47 .png

Description

This module provide 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 (hence the name). 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). Or alternatively: (sub)domains that point to your main domain, by using so called "CNAME" DNS records.
  2. In File Conveyor mode, this module integrates with the File Conveyor daemon. This allows for much more advanced setups: files can be processed (e.g. optimize images like smush.it, minify CSS with YUI Compressor, minify JS with YUI compressor or Google Closure Compiler, and it's easy to add your own!), before they are synced and your CDN doesn't have to support Origin Pull, any push method is fine (supported transfer protocols: FTP, Amazon S3, Rackspace CloudFiles). File Conveyor is flexible enough to be used with any CDN, thus it enables you to avoid vendor lock-in.

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.

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

AdvAgg

The CDN module aims to do only one thing and do it well: altering URLs to point to files on CDNs. But in some cases, simply altering the URL is not enough, that's where the AdvAgg module comes in.

If you've ever had any issues with CSS or JS files not behaving as desired, check out AdvAgg. The "Advanced CSS/JS Aggregation" module solves all issues that arise from having CSS/JS served from a CDN. Keeping track of changes to CSS/JS files, smart aggregate names, 404 protection, on-demand generation, works with private file system, Google CDN integration, CSS/JS compression, GZIP compression, caching, and smart bundling are some of the things AdvAgg does. It's also faster then core's file aggregation. Also, if using AdvAgg there is the "Parallel CSS - AdvAgg Plugin" module. It can alter the url()'s in CSS files so they reference CDN domains.

Live sites

Related & recommended modules

Sponsors

  • Port of Far Future expiration functionality to Drupal 7: ONE Agency

Project Information

Downloads

Recommended releases

Version Downloads Date Links
7.x-2.2 tar.gz (40.79 KB) | zip (50.51 KB) 2012-Jan-23 Notes
6.x-2.2 tar.gz (54.07 KB) | zip (64.88 KB) 2012-Jan-23 Notes

Development releases

Version Downloads Date Links
7.x-2.x-dev tar.gz (41.65 KB) | zip (51.36 KB) 2012-Feb-05 Notes
6.x-2.x-dev tar.gz (54.82 KB) | zip (65.7 KB) 2012-Jan-31 Notes

Maintainers for CDN

  • Wim Leers - 265 commits
    last: 3 hours ago, first: 4 years ago

Issues for CDN

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 12 Feb 10