MyBBThemes Community

Full Version: Optimasing server and database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My forum works faster now. Just read....

Out of the box, MyBB performs quite well, however there are a few options that can be altered to improve the overall performance while lessening the load placed on the server the installation resides on.

For the purpose of this tutorial, please login to your MyBB Admin Control Panel and navigate to ‘Board Settings’ -> ‘Server and Optimization Options’.

GZip Page Compression Level

The first option we’re going to look at is the ‘GZip Page Compression Level’.

By default (and as of this article), the ‘GZip Page Compression Level’ is set to 4. While setting GZip Compression to a higher level does yield slightly higher compression, it also places a higher load on the server. In short, you’re sacrificing the servers performance for higher page compression and by placing a higher load on the server, page response times will increase and you won’t actually receive the full effect of the GZip Compression.

For maximum optimization and effect, reduce the GZip Page Compression Level to a 1 and submit your changes. Reducing the GZip Compression to a 1 not only ensures that your pages are still compressed, but it also ensures the least amount of load is placed on the server during page compression and output.

Friendly Redirection Pages

If your forum is new or not very active as of yet, leaving the ‘Friendly Redirection Pages’ on should not effect overall performance. If you, however, have a more active forum, this is another page that must load during each new thread, post and search your members perform. Simply turning this feature off forces automatic redirection back to the thread, post or search without loading another page.

Output template start/end comments?

This feature adds the names of the templates used for each specific page to your HTML source (commented of course). Unless you’re developing a new theme for MyBB, there’s really no need to have this feature on. Those that do view your HTML source really have no need to know exactly what the names of your templates are.

CSS Medium

MyBB allows you to either load your CSS settings from the database or store them in a separate folder (i.e. /css/). If your forum is new or not very active at the moment, storing the CSS in the database will not effect overall performance, however, the less calls to the database on each page load, the better.

If your forum is active, CHMOD your /css/ folder to 777 and choose ‘Stored in the file system’. This will lift the call from the database and store the CSS settings in your /css/ folder instead.
I always keep the friendly redirection pages off. I don't like them. :P
So do I
FirefoxWiz Wrote:I always keep the friendly redirection pages off. I don't like them. :P
Very good guide. You could also try to set the Gzip compression to 2 if you are having bandwidth problems.
Hey thanks for the tips guys some really useful information..now to make my board really fly :)
yes thank ki
Reference URL's