View Single Post
  #12  
Old 01 Mar 2011, 01:47
cuocsongso cuocsongso is offline
 
Join Date: Sep 2010
Originally Posted by extreme-gaming View Post
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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Credit for this nice & short tutorial goes to these guys.
http://wiki.netdna.com/Implementation/vBulletin
I met a problem after when I do it, please view attachment images

How to fix it? Thank you
Attached Images
File Type: png problemcda.PNG (5.4 KB, 163 views)
Reply With Quote