Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23

vBulletin Optimisation Tips

This is a discussion on vBulletin Optimisation Tips within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hey everybody, Just thought I would share my vBulletin Optimisation Tips with y'all. Does your forum 'fail to fly'? Has ...

  1. #1
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,998
    Liked
    11 times

    vBulletin Optimisation Tips

    Hey everybody,

    Just thought I would share my vBulletin Optimisation Tips with y'all.

    Does your forum 'fail to fly'?

    Has it reached the point where it is starting to slow down and you don't (or can't) upgrade your Hosting?

    Optimising your vBulletin can be an absolute Godsend.

    1. Store CSS StyleSheets as Files

    By default, vBulletin will store the CSS of your pages as HTML within the head of the document. This, when taken over thousands of pages, can be quite a heavy burden.

    Storing CSS Stylesheets as files will allow users/spiders to cache the CSS as a file, and make each page smaller, HTML wise, giving your server a bit of a breather.

    To begin, ensure your forums/clientscript/vbulletin_css directory is chmod 777 so the stylesheet files can be created.
    Next, in the AdminCP, select the vBulletin Options menu then vBulletin Options.
    Select Style and Language Options.
    Set "Store CSS Stylesheets as Files?" to Yes.
    Click Submit.


    2. Gzip those pesky pages!

    Many hosts these days come with gzip as standard, meaning if you enable it within vBulletin you can actually slow pages down.

    If your host has gzip installed, follow these instructions:

    Go to the AdminCP, expand the vBulletin Options menu and select vBulletin Options.
    Select Cookies and HTTP Header Options.
    Set "GZIP HTML Output" to No, set "GZIP Compression Level" to 0 and click Submit.

    If your host does not have gzip installed, choose Yes and 1 for the above.

    3. Restrict Search Engine Crawling

    Those spiders..they index your content, but there are always places that you don't want or need them to go.
    To restrict the pesky critters to only eating up your Content, do the following.

    In your root (public_html) directory, upload the following robots.txt::

    Code:
    User-agent: *
    Disallow: /forums/ajax.php
    Disallow: /forums/attachment.php
    Disallow: /forums/calendar.php
    Disallow: /forums/cron.php
    Disallow: /forums/editpost.php
    Disallow: /forums/global.php
    Disallow: /forums/image.php
    Disallow: /forums/inlinemod.php
    Disallow: /forums/joinrequests.php
    Disallow: /forums/login.php
    Disallow: /forums/member.php
    Disallow: /forums/memberlist.php
    Disallow: /forums/misc.php
    Disallow: /forums/moderator.php
    Disallow: /forums/newattachment.php
    Disallow: /forums/newreply.php
    Disallow: /forums/newthread.php
    Disallow: /forums/online.php
    Disallow: /forums/poll.php
    Disallow: /forums/postings.php
    Disallow: /forums/printthread.php
    Disallow: /forums/private.php
    Disallow: /forums/profile.php
    Disallow: /forums/register.php
    Disallow: /forums/report.php
    Disallow: /forums/reputation.php
    Disallow: /forums/search.php
    Disallow: /forums/sendmessage.php
    Disallow: /forums/showgroups.php
    Disallow: /forums/subscription.php
    Disallow: /forums/threadrate.php
    Disallow: /forums/usercp.php
    Disallow: /forums/usernote.php
    Remove any lines that you WANT the spiders to see.. if you want them to crawl the Calendar, take out Disallow: /forums/calendar.php.

    4. Move Attachments to the File System


    Stock vBulletin Attachments are stored in the Database. Large attachments or frequent viewing of them can cause a strain.

    To move them to the File System, create an attachments directory above your public_html (at the same level as it.. /root/username/public_html | root/username/attachments) and CHMod it 777.

    By placing it at this level, we prevent anyone from being able to access the attachments directly (ie: not through vBulletin).

    Next, go to the AdminCP and expand the Attachments menu.
    Click on Attachment Storage Type.
    Move your attachments out of the database and into the file system.

    Attachment Path: /home/*username*/attachments


    5. Move Avatars and Profile Pics to the File System


    As with the Attachments above, but the Avatars are on every post, so cause a burden to the server whenever a post is viewed.

    To move them to the filesystem, chmod your forums/customavatars and forums/customprofilepics directories to 777.
    Go to the AdminCP and expand the Avatars menu.
    Click User Picture Storage Type.
    Choose to Move Avatars and Profile Pics to the File System.

    Avatar Path: /home/*username*/public_html/forums/customavatars

    Avatar URL: /forums/customavatars

    Profile Pic Path: /home/*username*/public_html/forums/customprofilepics

    Profile Pic URL: /forums/customprofilepics


    6. Increase Cached Posts Lifespan


    Posts can be "cached", meaning the server doesn't have to pull them from the database every time they are viewed.
    To enable Post Caching, do the following:

    Go to the AdminCP, expand the vBulletin Options menu and select vBulletin Options.
    Select Server Settings and Optimization Options in the drop down menu.
    Set "Cached Posts Lifespan" to 90.
    Click Submit.
    If you have very little spare space, drop it to 30.


    7. Disable Search and Who's Online for Guests

    Why should guests (which are often mainly Spiders) see your Who's Online and Search? Do the following to stop them and reduce the load.

    Go to your AdminCP.
    Expand the Usergroups menu.
    Select Usergroup Manager.
    Select Unregistered / Not Logged In.
    Set both "Can Search Forums" and "Can View Who's Online" to No.
    Click Submit.

    8. Turn on fulltext searching

    Go to your AdminCP and expand the vBulletin Options menu
    Select Search Type.
    Set "Empty postindex and word tables?" to Yes.
    Click Submit.


    9. vBulletin.org Optimisation Mods

    The following link willl provide the various Modifications that have been written by the Community at vB.org:

    vB3.5 Add-ons - vBulletin.org Forum

    If you like it, don't forget to digg it!
    Last edited by Ace Shattock; 07-23-2006 at 05:21 PM.

  2. #2
    Senior Member
    Real Name
    Samo
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    118
    Liked
    0 times
    w000000000w

    thanks for tips

    some of them i have but some of them not ... thank you very much

  3. #3
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    2. Gzip those pesky pages!

    Many hosts these days come with gzip as standard, meaning if you enable it within vBulletin you can actually slow pages down.

    If your host has gzip installed, follow these instructions:

    Go to the AdminCP, expand the vBulletin Options menu and select vBulletin Options.
    Select Cookies and HTTP Header Options.
    Set "GZIP HTML Output" to No, set "GZIP Compression Level" to 0 and click Submit.

    If your host does not have gzip installed, choose Yes and 1 for the above.
    Is there a way to tell if gzip is already installed on your server without asking the host?

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    You should be able to look in your phpinfo and see if mod_gzip is installed. (Or mod_deflate if you're using Apache 2.)

  5. #5
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    Thanks. It was installed on my server.

    I also had it enabled in all 3 forums. Just went in and deactivated it in the forums.

  6. #6
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    According to this tool, your pages aren't gzipped now: GIDZipTest: Web Page Compression (Deflate / Gzip) Test - GIDNetwork

  7. #7
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    That's interesting. maybe it is installed on the server and just not enabled (if that is possible)

  8. #8
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    Just went to "apache update" and the following is not checked, meaning it is not active
    Gzip Module (experimental) (Version 1.3.26.1a)

    Is this what I need if I update apache?

    And I had eaccelerator installed. if I run an update, will it affect the eaccelerator installation?

  9. #9
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    Not sure about this tool. I enable gzip via my forum and it still says "no"

  10. #10
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    You have to put a path directly to a file, like this: http://www.fireblades.org/index.php

    (Try checking that URL.)

  11. #11
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,755
    Liked
    1 times
    Blog Entries
    1
    That makes a difference, thanks.

  12. #12
    Member
    Real Name
    Matt
    Join Date
    May 2006
    Location
    NY
    Posts
    51
    Liked
    0 times
    Great tips and I've implemented them all, but my forum seemed to run really slow when I stored the stylesheets as files. Once I switched back my forum went back to normal.

  13. #13
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    it will take a little bit for your browser to re-cache it. but once it does, it will save you a bunch of bandwidth, and end up being faster.

  14. #14
    Member
    Real Name
    Matt
    Join Date
    May 2006
    Location
    NY
    Posts
    51
    Liked
    0 times
    Quote Originally Posted by briansol View Post
    it will take a little bit for your browser to re-cache it. but once it does, it will save you a bunch of bandwidth, and end up being faster.
    Ok... I'll give it another try

  15. #15
    Senior Member
    Real Name
    MotMann
    Join Date
    Mar 2006
    Location
    Germany
    Posts
    292
    Liked
    0 times
    Thank's for the Tips. My Software/Server speed it up

    Fine .....
    www.XboxGamertag.de Xbox Forum, Board und Marktplatz :)

Page 1 of 2 1 2 LastLast

Similar Threads

  1. What is search engine optimisation?
    By AndyS in forum Member Articles
    Replies: 4
    Last Post: 08-03-2006, 10:54 PM
  2. vBulletin 3.6 Release Candidate 1 Available
    By Joe Ward in forum General Discussion
    Replies: 13
    Last Post: 07-27-2006, 03:36 AM
  3. vBulletin 3.6 Beta 2 Released
    By Brandon Sheley in forum General Discussion
    Replies: 4
    Last Post: 06-14-2006, 10:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •