Question

I use "Rackspace Cloud Files" service as my CDN (Content Delivery Network). This service provides nice API for many CDN-related automation. Please, help me to integrate Drupal with Rackspace Cloud Files. I even don't want to copy static contents to CDN manually.

Was it helpful?

Solution

Easy

  1. Copy the static files to your CDN (Rackspace cloud files in this case)
  2. Install http://drupal.org/project/cdn (drupal 7 requires no core patch)
  3. Configure the CDN module

Update

You can automate the delivery of content files with the 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, 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.

OTHER TIPS

Use the Cloud Files module. You can set the file system to Rackspace Cloud Files so that files uploaded to Drupal will be stored and delivered from Rackspace Cloud Files CDN directly (no copying).

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top