Home > Web > I wrote a WP plugin

I wrote a WP plugin

February 24th, 2009

I wrote my first WordPress plugin which will help rewriting js, css and theme file’s url to your own CDN network. So you don’t have to hack wordpress files.

You can download it here.

Bookmark and Share  
 

Yejun Web , ,

  1. June 10th, 2009 at 13:54 | #1

    Hey there,

    I use SimpleCDN and I was looking for something to make my rewriting rules a thing of the past, so that I can minimize requests to my own files (currently they just 301 redirect to SimpleCDN). Your plugin could be the perfect thing, except most of the files I want to offload to SimpleCDN are images.

    Here’s my current rewrite rule:

    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} SimpleCDN
    RewriteRule .* - [L]
    RewriteRule (.*\.(gif|jpe?g|png))$ http://cdn.beerpla.net.lg1×3.simplecdn.net/$1 [R=301,L]

    Is this something you think can be added? Some of my pages have 1MB of images and offloading those is essential but I really need to cut down the number of requests to my own server.

  1. August 30th, 2009 at 10:29 | #1