Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions

Reply 
 
LinkBack Thread Tools Display Modes
Old 10-17-2006, 10:33 PM   #1
Brent
Guest
 
Posts: n/a
Optimize vBulletin & Reduce Server Load

This article will only touch on things you can do to the vBulletin software in order to reduce the server load on your server without sacrificing some of the features you love about vBulletin. Please note this is just my personal preference on how I have my vBulletin software configured.

Site in question: Mustang Evolution
vBulletin Version: 3.6 Gold+

First let me show how I have some of the default settings:
  1. vBulletin Options -> Search Type (Drop Down Under vBulletin Options): If you have MySQL 4.0.x you can use Full Text Search as this option can greatly reduce server load when a search query is used on your server.
  2. vBulletin Options -> General Settings -> Use Forum Jump Menu: I have this setting turned off. If you have a large forum this will cause the server to work harder as it was to Generate the Forum Jump and then display it on the page. The Forum Jump consists of alot of html which makes the page larger which increases bandwidth usage and finally increases the code to content ratio (Search Engines may or may not take Code To Content ration into consideration when ranking a page. They do like smaller pages however). 95% of the users will not even realize it is gone. Atleast this is the case on my site.
  3. vBulletin Options -> General Settings -> Disable AJAX Features: Make sure that this is set to allow all AJAX Features. Ajax helps reduce server load by not reloading a page where AJAX is used. (Quick Reply for instance)
  4. vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output: I have this turned off because my server handles this through my httpd.conf file via mod_deflate. If you are not sure whether or not you have this enabled on your server you may test it using this website: GZIP Test It will tell you if you have it enabled or not and if you do it will show you how much the page was compressed. My main page: Mustang Web Site uncompressed is 31,460 bytes and compressed 8,774 bytes. Make sure the Compression Level is never set higher than 1.
  5. vBulletin Options -> Cookies and HTTP Header Options -> Remove Redirection Message Pages: I have this set to Yes. Not only do I find them incredibly annoying but they cause an unneeded page load.
  6. vBulletin Options -> Cookies and HTTP Header Options -> Add No-Cache HTTP Headers: Make sure this is set to No.
  7. vBulletin Options -> Server Settings and Optimization Options -> Cached Posts Lifespan: I have this set to 10 days. Once you turn this on I recommend rebuilding your Cache Posts via Maintenance -> Update Counters
  8. vBulletin Options -> Server Settings and Optimization Options -> Update Thread Views Immediately: Set this to No. With this set at No the Thread Views will automatically update via Cron every 1 hour by default. If you wish to change this you can do so by editing the Scheduled Task for Thread Views to a different time. Mine is set to update thread views every 15 minutes.
  9. vBulletin Options -> Server Settings and Optimization Options -> Update Attachment Views Immediately: I have this set to No as well. I just use the default cron to update these.
  10. vBulletin Options -> Style & Language Settings -> Store CSS Stylesheets as Files?: Set this to yes. Make sure that you change the permission of the /clientscript/vbulletin_css/ folder to 777. This greatly reduces the page size and the code to content ration as well as not requiring the web server to spit out all that code on every page load.
  11. vBulletin Options -> User Listing & Profile Viewing -> Show Last Post on Profile Page: This is very server intensive. Set this to No.
  12. vBulletin Options -> Message Posting and Editing Options -> Quick Reply: Not only does this make posting faster which leads to more posts being made this also uses ajax which means you do not have to load another page to make a post. I use this hack: Smilies in QR and QE To even further reduce the need to click the Post Newreply Button. I have Quick Reply set to: Yes, Click Not Required.
  13. vBulletin Options -> Message Posting and Editing Options -> Quick Edit: Turn this on to reduce the need for a new page reload when someone simply wants to edit a post.
  14. vBulletin Options -> Message Searching Options -> Minimum Time Between Searches: I have mine set to 5. I recommend setting some kind of small time limit to reduce any chance of abuse or attempt to use the search engine to bring your site to a crawl.
  15. * vBulletin Options -> Forums Home Page Options -> Display Logged in Users?: I have mine set to Yes, Alphabetical listing to members only. What this does is show your members Alphabetically if you are logged in but if you are a guest the Whos Online does not show at all. This helps reduce server load by limiting the amount of people that see the Who's Online Stats.
  16. * vBulletin Options -> Forum Display Options -> Show Users Browsing Forums: I have this option set to Yes, Random Listing to all visitors I do not care how they are sorted on Forum Display.
  17. vBulletin Options -> Forum Display Options -> Maximum Displayed Threads Before Page Split: I have this set to 20. I would not go much higher than this. The higher you go the more resources it takes to generate those extra threads to show and the bigger your page gets. Note: Changing this will change the amount of Forumdisplay pages that are generate overall which will result in a reindex by search engines.
  18. * vBulletin Options -> Thread Display Options -> Show Users Browsing Threads: I have this set to Yes, Random Listing to all visitors for the same reason I gave for Forumdisplay pages.
  19. vBulletin Options -> Thread Display Options -> Check Thread Rating: I have this set to no. Thread Ratings are rarely used on my forum so I don't need it to tell the user whether or not they have rated the thread and what their rating was.
  20. * vB_Datastore_Filecache: You may use the file system to cache your Datastore and improve performance. To do this Open your config.php file in your includes folder and find:
    PHP Code:
    // $config['Datastore']['class'] = 'vB_Datastore_Filecache'; 
    and simply remove the two
    PHP Code:
    // 
    before
    PHP Code:
    $config['Datastore']['class'] = 'vB_Datastore_Filecache'
    to enable Filesystem caching of your datastore. Make sure that you have /includes/datastore/datastore_cache.php set to 777 so that it may write to the file.

That is all the Default Options in vBulletin that I recommend looking into. Feel free to ask questions if you need further explanation on any of them.

Now let us look at some hacks that I find useful in reducing the server load and increasing site speed:
  1. Microstats - load times, server loads, queries, uncached templates: This hack does nothing to improve performance but it offers an excellent way to determine your server load times, server load and any uncached templates you have. Uncached Templates lead to extra queries which can affect performance.

Additional Information:
  • Last update: October 18, 2006
  • This article will be updated as new information becomes available. Keep checking back for updates.
  • This article may not be redistributed without consent of me.
  • Anything marked with * is a vBulletin 3.6 Specific Feature.
  • Disclaimer: I can not be held responsible for any damages caused by you making changes suggested within this thread. While there is very little chance that these settings can effect your board in a negative way I can not guarentee that they will behave on your forum the same way they have mine.

*October 18th Changes*
- I no longer use the Template Cache Hack due to compatibility issues with vital hacks that edit templates on the fly. I also am not convinced there is any reduced server load with this enabled.
- Corrected information about the Forumhome Who's Online Bit
- Updated from 3.6 Beta 3 to 3.6 Gold+ compatible
  Reply With Quote

Advertisement [Remove Advertisement]

Old 12-15-2006, 02:35 PM   #2
tespara
Guest
 
Posts: n/a
Thanks

Brent
  Reply With Quote
Old 12-17-2006, 05:00 PM   #3
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,115
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Thank you for the tips Brent..
I'll change the back link that I have for my copy from AF to here, since it's your work.. Your tips have helped me out a lot
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 03-25-2009, 02:55 PM   #4
vBulletin Owner
 
mariocaz's Avatar
 
Join Date: Mar 2009
Location: Mexico, city
Posts: 21
mariocaz will become famous soon enough
Send a message via MSN to mariocaz Send a message via Yahoo to mariocaz
Re: Optimize vBulletin & Reduce Server Load

Hi guys,

Please help me, I want to know if this step-tip is very useful and recomended to do it in the forum ??, and how it helps ???

Quote:
* vB_Datastore_Filecache: You may use the file system to cache your Datastore and improve performance. To do this Open your config.php file in your includes folder and find:
PHP Code:
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

and simply remove the two
PHP Code:
//

before
PHP Code:
$config['Datastore']['class'] = 'vB_Datastore_Filecache';

to enable Filesystem caching of your datastore. Make sure that you have /includes/datastore/datastore_cache.php set to 777 so that it may write to the file.
I have a little fear to do it!!! Only I have to edit that part in the config.php and then change permission to 777 to that folder and that is all ???

Thank you in advance, I really need it !!!

Mario
mariocaz is offline   Reply With Quote
Old 03-25-2009, 10:46 PM   #5
Supporters
vBulletin Owner
 
glennybee's Avatar
 
Join Date: Mar 2008
Location: Scotland
Posts: 1,058
glennybee is just really niceglennybee is just really nice
Re: Optimize vBulletin & Reduce Server Load

To enable filecache, yes that's all you need to do.

There are better options available now. If your sever has XCache installed, you can enable this in the config.php file (download the latest config.php file from the members area of vbulletin.com).
glennybee is offline   Reply With Quote
Old 03-26-2009, 08:08 AM   #6
vBulletin Owner
 
mariocaz's Avatar
 
Join Date: Mar 2009
Location: Mexico, city
Posts: 21
mariocaz will become famous soon enough
Send a message via MSN to mariocaz Send a message via Yahoo to mariocaz
Re: Optimize vBulletin & Reduce Server Load

and how can I know if XCache is installed in my server??? I have a shared hosting, and how this help to my forum ??, please tell me.

phpinfo()

If my hosting don´t want to install the XCache, the first options will help me ?
mariocaz is offline   Reply With Quote
Old 03-26-2009, 08:17 AM   #7
vBulletin Owner
 
mariocaz's Avatar
 
Join Date: Mar 2009
Location: Mexico, city
Posts: 21
mariocaz will become famous soon enough
Send a message via MSN to mariocaz Send a message via Yahoo to mariocaz
Re: Optimize vBulletin & Reduce Server Load

I asked to my forum that please install the XCache, so could you tell me what I have to do if I have enabled and installed the XCache in my server ?

Only I have to enable it in my config.php and that is all ??? nothing else ?? I have a 3.7.3

Thank you so much in advance!
mariocaz is offline   Reply With Quote
Old 03-26-2009, 08:21 AM   #8
Supporters
vBulletin Owner
 
glennybee's Avatar
 
Join Date: Mar 2008
Location: Scotland
Posts: 1,058
glennybee is just really niceglennybee is just really nice
Re: Optimize vBulletin & Reduce Server Load

Shared servers generally don't have php cachers installed, yours doesn't.

Here's a php server with xcache installed...

php-xcache.JPG

...and here's yours...

your-php.JPG

Since you're on a shared server, there's not much you can do to improve the server.

This mod might help you though...

vB Optimise 1.3.2 - vBulletin.org Forum
glennybee is offline   Reply With Quote
Old 03-26-2009, 08:37 AM   #9
vBulletin Owner
 
mariocaz's Avatar
 
Join Date: Mar 2009
Location: Mexico, city
Posts: 21
mariocaz will become famous soon enough
Send a message via MSN to mariocaz Send a message via Yahoo to mariocaz
Re: Optimize vBulletin & Reduce Server Load

So I can´t use the first option that I put here ?? and my hosting can´t install the XCache ?

I will take a look to the mod that you put me!

Also please take a little look to this post and help me a little, please glennybee
mariocaz is offline   Reply With Quote
Old 03-26-2009, 08:38 AM   #10
vBulletin Owner
 
mariocaz's Avatar
 
Join Date: Mar 2009
Location: Mexico, city
Posts: 21
mariocaz will become famous soon enough
Send a message via MSN to mariocaz Send a message via Yahoo to mariocaz
Re: Optimize vBulletin & Reduce Server Load

This one is the thread:

vBulletin SEO Optimization Tips

Thanx!

Mario
mariocaz is offline   Reply With Quote
Old 05-03-2009, 11:09 PM   #11
entrepreneur
 
Join Date: May 2009
Posts: 1
sten will become famous soon enough
Re: Optimize vBulletin & Reduce Server Load

There's also APC and eAccelerator (as alternatives to XCache).

I've recently started using a caching system for vbulletin (Halve your server load with LBCache for vBulletin), and the performance increase has been huge (saved me from shelling out on new hardware)

In terms of non-vbulletin tuning, mysql tuning can have a huge impact (http://www.day32.com/MySQL/tuning-primer.sh) , and there are Apache options such as KeepAlive, mod_deflate, mod_expires
sten is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions

Tags
load, optimize, reduce, server, vbulletin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reduce 60 second limits? popowich Feedback and Suggestions 3 09-10-2009 05:44 PM
For how many keywords should you optimize a web page? Brandon Sheley vBulletin SEO Tips and SEO Questions 2 07-02-2009 10:41 PM
NEW Search Engine Optimization (Seo) How to Optimize... News Webmaster Auctions 0 04-20-2009 12:54 PM
High server load averages marketprofits General Discussion 7 07-31-2007 12:44 AM
How Can I Reduce Spam In vBulletin? brandondrury Troubleshooting vBulletin Problems 1 05-26-2007 02:15 PM


All times are GMT -8. The time now is 01:19 PM.