Coder Social home page Coder Social logo

abhishekghosh / mod_cdn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reedloden/mod_cdn

0.0 2.0 0.0 402 KB

Apache2 module for CDN-ifying a website.

License: GNU General Public License v2.0

Makefile 6.26% Shell 76.84% M4 4.21% C 12.69%

mod_cdn's Introduction

mod_cdn: cdn-ify a website
Kris Beevers <[email protected]>
http://agile.internap.com/mod-cdn


Overview
----------------------------------------------------------------------
mod_cdn is an apache2 module developed at Voxel dot Net that makes
VoxCAST and other CDNs easier to use by automatically "CDNifying" some
HTML content and "originifying" the origin apache server to send
proper headers, validate authentication tokens, etc.  mod_cdn is meant
to be installed and configured on a CDN customer's origin server.

Some parts of mod_cdn are based on code from mod_proxy_html
(http://apache.webthing.com/mod_proxy_html/).

In addition to apache2, mod_cdn currently requires libxml2 to be
installed.


Features
----------------------------------------------------------------------
mod_cdn currently has the following features:

* Find links to content (e.g. img src tags) in HTML and rewrite the
  URLs to point to a different server (e.g., a VoxCAST host)
* Automatically add authentication token query string
  arguments to links in HTML that are being CDNified
* Automatically add query string ignore tokens in the query strings of
  URLs being CDNified, relative to some other query string argument
* Add proper Expires headers to static content for which the server is
  the CDN origin
* Add "Vox-Authorization: required" headers to static content for
  which the server is the CDN origin, and which requires
  authentication
* Verify the authentication tokens in query string arguments of static
  content requests for which the server is the CDN origin

Most sites probably don't need all of these features; they can each be
turned on and off and configured at a fairly high granularity.

A major coming-soon feature is dynamic threshold based switching
between CDN and non-CDN that takes into account server load metrics.


Documentation
----------------------------------------------------------------------
Some documentation for mod_cdn is available in the accompanying MANUAL
file or at http://agile.internap.com/mod-cdn.  This includes
documentation about installing and configuring the module.

mod_cdn's People

Contributors

beevek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.