EdgeCast

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

EdgeCast CDN is a high performing CDN that is great to work with Drupal. This module attempts to help to integrate the EdgeCast CDN into your drupal site. This module helps you employ some of the custom features of EdgeCast that you cannot get from the CDN module.

Currently these are the features this module offers:

  • Manual purging of content
  • Reports dashboard to show metrics from your account
  • Token Authentication

Token Authentication (Token Auth) is an optional service from EdgeCast that allows you to protect content. A token (appended to the end of a file name as a query string) is required to access the content. This very function allows for you to protect digital content. This module was written around a need for this as it was being developed for a website that offered purchased digital downloads. We couldn't have links being shared on the Internet to access files that require a purchase.

This supports Token Authentication via one of two ways: via a web service call or via a php module. The later of the two is the quickest method of course; however, this module (ectoken.so) is only available through your sale agent. I will explore packaging the php module with the Drupal module if Edgecast will approve of it.

This module also uses the EdgeCast RESTful API to display data usage (coming) and to purge content.

This module started with source code form samo. Samo wrote the purge code for D6. The code was ported over to D7.

Dependencies

  • EdgeCast PHP Module - to support local Token generation - available from your sales agent

Future Roadmap

  • Token Authentication
  • Custom file download field with Token Auth
  • Reporting Dashboard
  • Promote to full project status

Project information