php forum
php mysql forum
php mysql smarty
 
Topic Options
#286353 - 10/05/01 07:26 PM Increasing Speed & Reducing Bandwith in Your Forum
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes

   Increasing Speed & Reducing Bandwith in Your Forum to Del.icio.us Add to del.icio.us
  Digg Increasing Speed & Reducing Bandwith in Your Forum Digg it
Increasing Speed & Reducing Bandwith in Your Forum
By: Allen Ayres

Everyone wants to improve the user experience for those who visit their site. That's why UBBDev was formed, to assist you in that endeavor. This month we present a good number of tips to improve your user's experience with a side-benefit of reducing your site's bandwidth, in most cases tremendously. <IMG SRC="smilies/smile.gif" border="0">

We'll start with a few basic tips anyone can use on any version UBB™. These are basic setup tips that your members will love you for, as they will enjoy visiting your site more because they spend less time waiting.

Basic Forum Setup

  • Configure threads to only have 15 posts per page
  • Configure forums to only have 25-35 topics max per page
  • Set default topic view to 10 days or less
  • Check "No, do not use inline frames"
  • For those running the new 6.1.0 betas, the UBB Accelerator written by Philipp Esselbach can be turned on if your web host has a recent version of php installed. For more info, Check Here .


These reduce the amount of threads/posts actually downloaded to the end-user, there-by reducing bandwidth and improving "percieved" speed, as the pages download much faster.

File Size Reduction

  • Optimize your graphics, reducing the size of them until just before quality begins to suffer
  • Optimize the html in the header/footer, removing un-necessary table tags (if you've added these and used a wysiwyg html editor like front page or dreamweaver, there's probably a *lot* of extra table tags in there


These also reduce the amount of download produced and are just good practice for any web development done.

Modifications, Beyond the Basics

Here are a few extra tips for those who don't mind a little extra time to make a huge difference.

You can use the cgi_buffer perl module to compress your files if you are able to install perl modules to the server, sends 80-120kb files to the user as 7-11kb files... much faster and a huge bandwidth saver. Not all servers support this one, but a good number do and it only takes a few minutes to find out.

You can get more info about it here:

Infopop's forums and here: UBBDev's forums

XHTML templates are available for 6.1 and will be updated to the final version once released, they make a difference in render speed as well.

Those are here , but in beta and most likely do not match your version, wait until final 6.1.0 release:

Dedicated Server Owner Tips

If you are moving to/running a dedicated server, be sure and install the latest verion of activestate perl and php, they'll both come in handy for 6.1.0 <IMG SRC="smilies/wink.gif" border="0"> You should be able to use the PerlIS.dll for mapping your perl/cgi scripts with the latest version of perl (629), tho we are investigating it to see if they've worked all the bugs out of it yet. It does give a small performance boost as well.

Server setup:
  • Make sure you have scsi hard-drives, their fat data pipes serve up pages/data much faster than IDE drives and will make a huge difference on busy sites. The new 15k RPM drives fly!
  • "As much Ram memory as you can afford" applies to any server setup, ones that run forums in particular
  • Processor speed is important, especially when using the new ubb accelerator for 6.1, tho dual processor's probably do not provide much if any additional assistance.
  • Always keep your software updated to the latest version, they are produced for a reason, usually to provide more stability, improve efficiancy, and patch security holes.
  • Mapping your Perl and Php scripts to the .dll may have some benefit in performance as well, tho there are still a few bugs to be worked out of the php and perl base code before it is as useful as it can be.


I trust this has proved useful to most of you, if you have more tips, start a thread in our chit chat forum and we'd be happy to discuss this with you. <IMG SRC="smilies/smile.gif" border="0">

Top


Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks