Dropbox CDN


About the “Dropbox CDN”:
This is a WordPress Plugin that will allow you to use your Dropbox ‘Public’ folder as a free Content Delivery Network (or CDN). I would only suggest this plugin for users who aren’t afraid of getting their hands a little dirty.

Download version 1.1

Compatability:
This is tested on the most recent version of WordPress. The minimum for this plugin is WordPress 2.7.1.

Please note that, as of now, this plugin only supports themes who use the filters ‘template_directory’, ‘template_directory_uri’, ‘stylesheet_directory’, ‘stylesheet_directory_uri’, and ‘stylesheet_url’ to determine the paths to the theme’s template and stylesheet files.

To install this plugin within WordPress
1. Login into your wp-admin section
2. From the Plugins menu choose ‘Add New’
3. Search for ‘Dropbox CDN’
4. Click on the ‘Install’ link for this plugin
5. Follow the steps on the settings page

To install this plugin manually:
1. Download the .zip file
2. Unpack into wp-content/plugins/ folder
3. Activate the plugin
4. Follow the steps on the settings page

Change Log:
-Version 1.1-
Added support for ‘stylesheet_url’

-Version 1-
Initial Release

Known Issues
Some themes aren’t supported – not sure of a way that I can get around this
Internet provider (work/school/etc) blocking dl.dropbox.com domain – looking into a way to take care of this
wpTouch incompatibility – Looking into a fix for this mobile theme to still work

{ 36 comments… read them below or add one }

Chris K February 8, 2011 at 9:30 am

@Lawrence

I’m using W3 Total Cache on this website right now as we speak. Keep in mind that ANY option that tries to alter the URL to the stylesheet or cache a stylesheet in another location, will be impossible to thwart. The Wp-Minify plugin I can’t mitigate as it’s doing the SAME thing I am. Trying to alter where the CSS files are stored can’t be done twice. I’m guessing HeadJS is doing the same thing but I can try and take a look at it.

Daniel February 16, 2011 at 5:23 am

Not too sure if this is realted, but I noticed after installing this plugin my W3 Total Cache plugin started to… Well not work. Do you think it could be related?

Claude June 15, 2011 at 12:42 pm

Hello,
I have a problem for acivate this plugin (error message) :
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\wp-content\plugins\dropbox-cdn\dropbox-cdn.php on line 119
…sorry for my bad english !
thanks

Chris K June 15, 2011 at 6:58 pm

@Claude

Sorry for any issues, the line you have specified is the last line of the plugin. You can try removing the ‘?>’ from the end of the file and see if that fixes it.

I’m using the current version of this plugin and am not having the same problem. Let me know if removing that fixes it for you.

Thanks,
Chris

Danny July 29, 2011 at 6:09 am

Hi,

Is it possible to add support for Child themes, i.e. add the ability to have mulitple paths to a theme, so instead of having one field to fill in with your path to your dropbox account we have two or more?

Chris K July 29, 2011 at 8:19 am

@Danny
I don’t know how I would do that currently, but I will look into it and see if it’s a feasible feature to add. Thanks for the suggestion!

-Chris

ANUJ RAWAT October 3, 2011 at 8:04 am

Hello, Sir, you have made wonderful plugin can you make similar cdn plugin for this http://www.minus.com
Please have a look, it gives 10gb free space and apis, similar to dropbox and free leaching. Also it is not blocked by corporate and can be used as cdn, Please reply to me.

Ben Palmer February 28, 2012 at 3:44 pm

How do i get this plugin to upload media files when they are added or is that a different plugin i require?

Chris K March 27, 2012 at 4:28 pm

@Ben

This plugin does not upload the files to Dropbox directly. You would still need to manually upload them to your public folder on Dropbox. When this plugin was initially built, the API for uploading files did not yet exist. It is certainly something that may be looked into.

Joshua Nelson April 12, 2012 at 9:35 am

Has this plugin been tested with Thesis?

Thanks!
Joshua

Chris K April 26, 2012 at 8:01 am

@Joshua

It has not yet. I just purchased thesis myself. I will see if it’s compatible in the near future. My suspicion is going to be with the custom directory not linking correctly but I will let you know after some more testing is done.

Thanks
-Chris

Leave a Comment

{ 4 trackbacks }