devil

Use Dropbox as a CDN for your WordPress Files

For optimal site performance, it is recommended that you use a CDN (Content Delivery Network) to host your website’s static content – like images, CSS and JavaScript files – since it effectively reduces the physical distance between the user’s browser and your content.

A CDN is a collection of web servers distributed across multiple locations to deliver content more efficiently to users. The server selected for delivering content to a specific user is the one with the fewest network hops. [Yahoo]

Amazon S3 is among the most cost-effective CDN for hosting WordPress files but if you are not on S3 yet, you may well consider using the Dropbox service as a CDN to serve the static files of your WordPress blog.

How? There’s a new WordPress plugin in town that can help you effortlessly deploy all the static files associated with your WordPress theme to Dropbox.

It works something like this. You create a sub-folder in your Dropbox Public folder and replicate your WordPress theme folder structure here. Next grab the URL of this public folder, pass it to the Dropbox CDN plugin and it takes care* of everything else.

dropbox cdn

Will this really help improve performance? Based on the suggestion of David Bradley, I conducted a quick test to compare the loading speed from Amazon S3, Dropbox, Google CDN and my existing host which is Dreamhost.

An uncompressed JS file was served from all the four servers and the load time of Dropbox turned out to be among the lowest (see the blue bar) partly because Dropbox automatically served the file with gzip compression.

Related resources:

[*] The Dropbox CDN plugin will not work with WordPress themes where the file paths are hard-coded into the code. Check your header.php file to ensure that you use standard functions like bloginfo(‘stylesheet_directory’), etc. to echo the static file names.



ADVERTISEMENT
Subscribe to this Blog via Email :

5 comments

Write comments
Anonymous
AUTHOR
July 1, 2011 at 2:34 PM delete

charter one credit union michigan. charter one debit cards. [url=http://lowcreditpersonalloans.com/]loan 50000[/url]. charter one debit gift cards. charter one home equity loans, charter one home loans,

Reply
avatar
Anonymous
AUTHOR
July 4, 2011 at 9:36 AM delete

[url=http://sliva-34.webs.com/]Buy lorazepam Online [/url]
http://sliva-34.webs.com/

Reply
avatar
Anonymous
AUTHOR
July 6, 2011 at 12:24 AM delete

Привіт
Звертаю вашу увагу самий відомий програмний продукт у сфері біржі трафіку, який містить більше 11 видів реклами від розробників CMS AdminStation - www.adminstation.in.ua
Ви можете вибрати будь-який скриптів необхідних вам:
PopUp v3.1
Програмний проукт для організації великої біржі трафіку що містить в собі більш ніж 10 форматів реклами, а саме:
1) PopUp -реклама (перехід по кнопці "Закрити")
2) BodyClick -реклама (ClickUnder)
3) Баннерная реклама
4) Контекстна реклама
5) Тизерная реклама
6) Плаваючий блок посилань
7) Розтяжка (Top - line)
8) ICQ - window
9) Peel - down (Куточок)
10) SLIDER - банер
Демо: http://popup.adminstation.ru

TrafExchanger
Скрипт для обміну трафіком. Технології BodyClick і Iframe.
Демо: http://traf.adminstation.ru

WapTraf
Програмний проукт для роботи з мобільним трафіком
Demo: http://wap.adminstation.ru

AS SMS
Скрипт для СМС партнерки
Демонстраційна версія: http://sms.adminstation.ru

Доступи на усе Демонстраційна версії: Логін: Admin; Password: demo

Більше детально можете проглянути на сайті [url=http://adminstation.in.ua]www.adminstation.in.ua[/url]
ICQ для контактів: 451-699-555

Reply
avatar
Anonymous
AUTHOR
May 22, 2012 at 3:42 PM delete

beer drinking emma watson [url=http://pics.helloweb.org/shakira/] jessica alba see-thru pics [/url] [url=http://pics.helloweb.org/pictures/doc_32.html]hard hilton paris video[/url]
miss vanessa anne hudgens video musica shakira [url=http://pics.helloweb.org/cuthbert/page-43.html]katie price jordan sexy[/url] [url=http://pics.helloweb.org/shak/lindsay-lohan-pics-like.htm]lindsay lohan pics like[/url] [url=http://pics.helloweb.org/pictures/suerte-by-shakira.htm]suerte by shakira[/url] sexy adrianne curry picture

Reply
avatar
Anonymous
AUTHOR
June 5, 2012 at 3:22 PM delete

Лучшие спонсоры и партнерские программы.
[url=http://sarafanka.org/?r=11d08] работа on-line, работа в интернете[/url]
Заработок в интернете на рекламе.

Reply
avatar

Would love to here from you...