Results 1 to 8 of 8
-
7th Mar 2011, 08:40 PM #1OPMemberWebsite's:
host4offshore.com(Tutorial) How to setup a CDN for vbulletin
To implement your vBulletin site, 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:
- Set Search for Text to href="clientscript
- Set Replace with Text to href="http://cdn.mywebsite.com/clientscript
You need to repeat this step for images, javascript and other shared media as follows:
Search for Text src="customavatars/
Replace with Text src="http://cdn.mywebsite.com/customavatars/
Search for Text src="customprofilepics/
Replace with Text src="http://cdn.mywebsite.com/customprofilepics/
Search for Text src="images/
Replace with Text src="http://cdn.mywebsite.com/images/
Search for Text url("clientscript
Replace with Text url("http://cdn.mywebsite.com/clientscript
Search for Text src="clientscript/
Replace with Text src="http://cdn.mywebsite.com/clientscript/
Search for Text href="clientscript/
Replace with Text href="http://cdn.mywebsite.com/clientscript/
Search for Text url(./images/
Replace with Text url(http://cdn.mywebsite.com/images/
Search for Text url(images/
Replace with Text url(http://cdn.mywebsite.com/images/
Search for Text var imgdir_misc = "images/misc";
Replace with Text 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:
- Avatars are currently being served from the filesystem at ./customavatars
- Profile pictures are currently being served from the filesystem at ./customprofilepics
- 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):
$ curl -I 'http://cdn.mywebsite.com/clientscript/vbulletin_important.css?v=385'
$ curl -I http://cdn.mywebsite.com/customavatars/avatarx_y.gifonel0ve Reviewed by onel0ve on . (Tutorial) How to setup a CDN for vbulletin To implement your vBulletin site, follow these steps: Open admincp by visiting http://mywebsite.com/admincp/ > Select Styles & Templates > Replacement Variable Manager: Click on link and set it as follows: Set Search for Text to href="clientscript Set Replace with Text to href="http://cdn.mywebsite.com/clientscript Rating: 5|| Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
|| Shared , Reseller Hosting Sales Thread
|| Rapidleech Hosting Sales Thread
|| Current Promotion
-
7th Mar 2011, 11:18 PM #2Banned
I see how this works - but more details could be added to make more sense of it all
-
8th Mar 2011, 04:54 AM #3Member
@Nick
He copy-pasted from some site... But it does work, even though I prefer those changes to be permanent, and not just replacement.
-
8th Mar 2011, 04:57 AM #4MemberWebsite's:
iHacksRepo.Com WatchDDR.ComExaclty,
Code:http://www.vbulletin.org/forum/showthread.php?threadid=257127
Need Help Regarding Jailbreaks And Unlocks ? PM ME ;)
iDevice : iPhone 3Gs 16GB White (Factory Unlocked) Updated To iOS5 !
-
8th Mar 2011, 05:04 AM #5Retired NinJaWebsite's:
loledhard.comReplacements are better, only 3 replacement make good use of cdn; like 90% of stuffs from ur host are covered with this replacements.
"clientscript/
replace with
"http://cdn.mywebsite.com/clientscript/
"images/
replace with
"http://cdn.mywebsite.com/images/
(images/
replace with
(http://cdn.mywebsite.com/images/
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
8th Mar 2011, 06:23 AM #6OPMemberWebsite's:
host4offshore.com|| Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
|| Shared , Reseller Hosting Sales Thread
|| Rapidleech Hosting Sales Thread
|| Current Promotion
-
8th Mar 2011, 06:26 AM #7OPMemberWebsite's:
host4offshore.com|| Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
|| Shared , Reseller Hosting Sales Thread
|| Rapidleech Hosting Sales Thread
|| Current Promotion
-
8th Mar 2011, 10:53 AM #8Banned
ty peeps
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
video tutorial: nginx - the perfect wordpress setup
By loeken in forum Tutorials and GuidesReplies: 2Last Post: 28th Aug 2012, 02:09 PM -
Tutorial about Dedi/VPS Setup is welcome!!
By soum111 in forum Hosting DiscussionReplies: 7Last Post: 16th Feb 2012, 10:58 AM -
A simple cPanel/WHM setup tutorial PART 1
By DLow in forum Technical and Security TutorialsReplies: 1Last Post: 13th Dec 2011, 03:34 PM -
[Video Tutorial] How to Setup IRC (Unreal IRC)
By Dom in forum Technical and Security TutorialsReplies: 3Last Post: 24th May 2011, 08:45 AM -
[Tutorial] Complete Guide to IDM | How to Setup IDM
By BAD BOY in forum Tutorials and GuidesReplies: 7Last Post: 30th Sep 2010, 08:01 AM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...