This is a simple module and drush script for that allows you to enable CDN support per site in Aegir. It takes care of setting up a new virtual host that is configured to serve your site's static files over one or more additional domains, eg. css.example.com, js.example.com, cdn.example.com. Use in conjunction with the Drupal CDN module for full effect.
It is specifically aimed towards the Ægir project and therefore depends on the provision backend and expects the Aegir environment to be functional. If you don't know what Aegir is, you'll probably want to start there and come back when you really know that you want to use this code.
Installation
There are two parts to the code: - A Drupal module for hostmaster - contained in the /hosting directory. Install this like any other Drupal module into you hostmaster site. - A provision Drush extension - contained in the /provision directory. Copy this into /var/aegir/.drush on your Aegir master server. Now just enable the module in the Aegir frontend, and you're ready to go.
Requirements
This was built on a Barracuda system, so requires Provision 6.x-2.x
The Speedy module is designed to help speed up front end performance in a site.
The Speedy module provides minified versions of core JavaScript files that are not already minified. For example, a minified version of drupal.js is provided while jquery.js (already minified) is not.