Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download cdn-8.x-3.0-alpha1.tar.gztar.gz 41.23 KB
MD5: ebfb58226bca540d1364a67c284e38d9
SHA-1: aedccc1c79dc7d58130582b453d2d78cf48b5db8
SHA-256: 60e17af026e1b13cdac7cfde4fc273698afb1ded12f182f458d684feb1465a7d
Download cdn-8.x-3.0-alpha1.zipzip 54.97 KB
MD5: e4de6018fbc736ca5a4be5de70b90557
SHA-1: b70461701a9c79465ad7da4a14b58e7b7959d335
SHA-256: 41c6bf756fb4bc3e95d89ce55af7e20ec2c49e88415f6ba13580d5310006e410

Release notes

In this first alpha release:

all the fundamentals
  • the ability to use simple CDN mappings, including conditional ones depending on file extensions, auto-balancing, and complex combinations of all of the above
  • DNS prefetching
  • a simple UI to set it up — in fact, much simpler than before!
changed/improved
  1. the CDN module now always uses protocol-relative URLs, which means there's no more need to distinguish between HTTP and HTTPS, which simplifies a lot
  2. the UI is now a separate module (fixes #1784432: Version 3.0: move UI of CDN module into a cdn_ui module)
  3. the UI is optional: for power users there is a sensible configuration structure with strict config schema validation
  4. complete unit test coverage of the heart of the CDN module, thanks to D8's improved architecture
  5. DNS prefetching using headers rather than tags in <head>, which allows me to use a much simpler/cleaner Symfony response subscriber
  6. tours instead of advanced help (fixes #1753174: Dependency for advanced_help module), which very often was ignored
removed
  1. File Conveyor support
  2. separate HTTPS mapping (also mentioned above)
  3. all the exceptions (blacklist, whitelist, based on Drupal path, file path…) — all of them are a maintenance/debugging/cacheability nightmare
TODO
  1. the 'Access files on the CDN when in testing mode' permission is not yet operational… but should it even be? Is this something people actually use? Should we keep it or remove it?
  2. integration tests: #2708777: Write/migrate integration tests
  3. Far Future expiration support: #2708787: Port Far Future expiration to 8.x-3.x
  4. SEO/duplicate content prevention: #2708771: Port SEO (duplicate content prevention) to 8.x-3.x
  5. #2666382: EditorFileReference filter: generate URLs for inline images (core issue) to allow the CDN module to rewrite file URLs in user-generated content
  6. #1783278: Scheme-relative URL rejected by validation (core issue) to allow the CDN module to work in tandem with file upload widgets, which currently cause errors due to this core bug

Looking forward to your feedback at #2294613: Port CDN to Drupal 8!

Created by: Wim Leers
Created on: 18 Apr 2016 at 21:35 UTC
Last updated: 9 Jun 2016 at 20:43 UTC
New features

Other releases