To edit your vBulletin style to enable CDN, follow these steps:
* Open admincp by visiting http://mywebsite.com/admincp/ > Select Styles & Templates > Replacement Variable Manager:
* Click on [Add New Replacement Variable] link and set it as follows:
o Set Search for Text to href="clientscript
o Set Replace with Text to href="http://cdn.mywebsite.com/clientscript
Code:
You need to repeat this step for images, javascript and other shared media as follows:
Search for Text Replace with Text
src="customavatars/ src="http://cdn.mywebsite.com/customavatars/
src="customprofilepics/ src="http://cdn.mywebsite.com/customprofilepics/
src="images/ src="http://cdn.mywebsite.com/images/
url("clientscript url("http://cdn.mywebsite.com/clientscript
src="clientscript/ src="http://cdn.mywebsite.com/clientscript/
href="clientscript/ href="http://cdn.mywebsite.com/clientscript/
url(./images/ url(http://cdn.mywebsite.com/images/
url(images/ url(http://cdn.mywebsite.com/images/
var imgdir_misc = "images/misc"; var IMGDIR_MISC = "http://cdn.mywebsite.com/images/misc";
Avatars & Pictures - Storage Type
* Visit Avatars > Storage Type and set them as follows to match your above CDN rules by moving all of them to file systems:
o Avatars are currently being served from the filesystem at ./customavatars
o Profile pictures are currently being served from the filesystem at ./customprofilepics
o Signature pictures are currently being served from the filesystem at ./signaturepics
How Do I Test Images And Other Media Files Are Cached Or Not By CDN? Use curl to test HTTP headers (look for Etags, max-age and Expires headers):
I wonder how a CDN based on geoip will do.
for example, using examplex.com for country x and exampley.com for country y.
ofc examplex and exampley are two different servers hosted on two different countries.
the main problem seems to be the synchronization between files/writing files.
To edit your vBulletin style to enable CDN, follow these steps:
* Open admincp by visiting http://mywebsite.com/admincp/ > Select Styles & Templates > Replacement Variable Manager:
* Click on [Add New Replacement Variable] link and set it as follows:
o Set Search for Text to href="clientscript
o Set Replace with Text to href="http://cdn.mywebsite.com/clientscript
Code:
You need to repeat this step for images, javascript and other shared media as follows:
Search for Text Replace with Text
src="clear.gif" <src="http://cdn.mywebsite.com/clear.gif"/td>
src="customavatars/ src="http://cdn.mywebsite.com/customavatars/
src="customprofilepics/ src="http://cdn.mywebsite.com/customprofilepics/
src="images/ src="http://cdn.mywebsite.com/images/
url("clientscript url("http://cdn.mywebsite.com/clientscript
src="clientscript/ src="http://cdn.mywebsite.com/clientscript/
href="clientscript/ href="http://cdn.mywebsite.com/clientscript/
url(./images/ url(http://cdn.mywebsite.com/images/
url(images/ url(http://cdn.mywebsite.com/images/
var imgdir_misc = "images/misc"; var IMGDIR_MISC = "http://cdn.mywebsite.com/images/misc";
Avatars & Pictures - Storage Type
* Visit Avatars > Storage Type and set them as follows to match your above CDN rules by moving all of them to file systems:
o Avatars are currently being served from the filesystem at ./customavatars
o Profile pictures are currently being served from the filesystem at ./customprofilepics
o Signature pictures are currently being served from the filesystem at ./signaturepics
How Do I Test Images And Other Media Files Are Cached Or Not By CDN? Use curl to test HTTP headers (look for Etags, max-age and Expires headers):
It's important to understand that CloudFlare is *not* a CDN, nor is it their intension to be. Furthermore nothing replaces properly tuning your web site before adding other services as next or final steps.
He is the guy at http://www.w3-edge.com/ aka the company who made the popular w 3 total cache plugin for wordpress.
As soon as they fix their sign up form, I'll be able to check it out.
Quote:
We're sorry.
You can't access this form because it is in violation of our Terms of service. If you feel this is in error, please contact us.
Find out more at the Google Docs Help Center.
Quote:
At this time, Page Speed Service is offered to a limited set of webmasters. You can request access to the service by filling this web form. (which is broken)