Date-Based Rewrites for Static CDN
Content Delivery Networks (CDN) have become very popular in the past several years. They offer an easy way to save bandwidth, and bring content physically closer to end-users. CDNs offer a variety of services, though pricing and features are usually tailored to larger content providers. As a smaller provider myself, using an ADSL line to host my websites — and as a SysAdmin who prefers to host his own content — I decided to mirror my static content, and redirect traffic as I needed. The following describes a solution to keeping all of content local, yet mirroring static content for faster delivery.