Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
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.

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 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.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)