Download cdn-7.x-2.3.tar.gztar.gz 44.52 KB
MD5: 78286ee0edc0bc44c9b920e2cc1cd906
SHA-1: 0b730ac0aabce138ff389d4831c4a72ca46b9d23
SHA-256: 746d2ef3cf7224753b547ce312dbefe0ec790091aca1a2b4071c79bfff4c790e
Download cdn-7.x-2.3.zipzip 54.84 KB
MD5: ff02c9eb1c69050bc84db39c14bba138
SHA-1: 31ce30b0e222a32373ed69acecde5a22af1883c3
SHA-256: 5603e696da1ec2fed1baf59d1c0fbb651a7d96a3c402cbe85a0dff28cfca159b
Install with Composer: $ composer require 'drupal/cdn:^2.3'
Using Composer to manage Drupal site dependencies

Release info

Created by: Wim Leers
Created on: 15 Feb 2012 at 20:41 UTC
Last updated: 20 Feb 2014 at 11:23 UTC
Core compatibility: 7.x

Release notes

Many small bug fixes, some new features (overridden Drupal core's CSS aggregation to alter image URLs, DNS prefetching, CORS support, new UFI method) and a security fix.

If you're using Origin Pull and the Far Future expiration option, upgrade ASAP: SA-CONTRIB-2012-022 - CDN - Information disclosure!

You have to rebuild your menus, so that the new Far Future URLs actually work, plus you have to clear the CSS cache so that the file URLs in the CSS files (usually to images, but also fonts, for example) are updated to the new style.
You can do that:
- with Drush: drush cc menu && drush cc css+js.
- just through Drupal's UI: submitting the modules page and clicking "Clear all caches" at admin/config/development/performance in D7

Changes since 7.x-2.2:

  • #1428530: Override CSS aggregation to ensure correct file URL altering for files referenced by CSS files
  • Improve CDN module's Far Future expiration URLs.
  • #1434358: Clean-up: keys in hook_cdn_unique_file_identifier_info() implementations *are* the machine names
  • #1294822: Document private files support
  • #982188: Work around Same-Origin Policy: Cross-Origin Resource Sharing (CORS) support
  • #1431284: Far Future file URLs are not properly encoded
  • Follow-up patch for #1416404: Do not use Far Future URLs when in maintenance mode
  • #1247078: Support DNS Prefetching
  • Follow-up patch for #1267902: Allow different CDN domain when using HTTPS
  • #1421836 by mr.baileys and Wim Leers: Provide an UFI method based on Drupal cache flush
  • Fixed #1421282: warning: filemtime() [function.filemtime]: stat failed for blog/feed in on line 232.
  • #1267902 by andreiashu and wimleers: Allow different CDN domain when using HTTPS
  • #1422394: Prevent file URL rewriting of URLs that already point to Far Future URLs
  • Follow-up patch for #1419644: CDN URL rewriting can fail in specific (rare) scenario
  • Fixed #1419644: CDN URL rewriting can fail in specific (rare) scenario
  • Fixed #1416404: Do not use Far Future URLs when in maintenance mode


The selected release is the release that will be used for automated testing. Optional projects are only used for testing.


No required projects


No optional projects