The Dummies’ Guide to SpeedUp Mybb Forums

The Dummies' Guide to Speed up MyBB Forums The Dummies’ Guide to Speed up MyBB Forums

In today’s world, every organization or person who wants to interact with customer or user is set up space where the customer or user interaction with each other.

For creating this space we want some software which is generally called forums.

Forums are present from an early stage of the internet and it still has a significant role in World Wide Web.

In this social world where every user has its own identity on social networks like Facebook or Twitter, serious discussion wants a forums or groups. Forums topic have a weight in Google spider view.

So if you a new webmaster like me, Open a forum for your website.

It also helps you to create your brand easily because in forum interacting to your visitor or user make a user trust on your brand and for making a great brand its always require a user trust.

Why you Choose MyBB?

MyBB originally My Bulletin Board, is a free and open source forum software which is developed by the MyBB Group. It first released on 2002.

The Dummies’ Guide to Speed up MyBB Forums

This is main topic for this tutorial, so let’s ready for tutorial.

Tip: To measure how you did, click GT Metrix or Pingdome Tools and enter your URL. Note your scores before applying the tips below and after applying them.

Also try using Web Page test to measure the raw speed of your forum. Again, do this before and after.

Step 1. Choose Better Host.

This is an ultimate tip which you got from any webmaster and its applicable on any application like opening a blog or create communities using forums.

Hey, you don’t want a buy a VPS or dedicated server but if you want to buy an any shared host please check user review on the internet.

Google helps you to find a better host and some better share host is there like HostGator or if you want a cheap vps go for Digital Ocean or check a better vps deals at Low End Box, but its not end if you want a free host for hosting a your forum without any hassle OpenShift.

Tip: Don’t go for free x10Hosting, If your forum or website popular its deleted or your account suspended. It’s My Personnel Experience.

Premium WordPress hosting for everyone, small or large
Want a Best Shared Webhosting, Choose DreamHost

Step 2. Enable Gzip Compression.

Go into your Admin CP -> Server and Optimization settings and set Enable GZIP compression to yes, and set the level from 4 to 9.

Login in your forum host using any ftp client you find htaccess.txt or .htaccess if fancy url is enabled. If you found htaccess.txt simply rename it to .htaccess, then open it into your favorite editor and insert below codes.

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 year"
ExpiresByType text/x-javascript "access 3 month"
ExpiresByType application/x-shockwave-flash "access 3 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 10 days"

Above code does not provide any benefit for first time user, but its definitely help in the second visit. Its remember your static content in serving it to a user.

Step 3. Turn ETags Off

The ETag or entity tag is part of HTTP, the protocol for the World Wide Web. It is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.

Open your .htaccess file and simply add this line

# BEGIN Turn ETags Off
<ifModule mod_headers.c>
  Header unset ETag
FileETag None
# END Turn ETags Off

Note: After adding above line my forum first page size cuts from 70kb to 65kb. Its just a 5kb but at slow modem its give you a huge difference and according to Google its main priority goes to faster website.

Step 4. Compressing Forum Images.

Compress your images which is present in your image directory. 95% image in .png format so compressing png files simply go to pngquant website and in download section choose tools which is suit your OS.

I am used a PNGoo for compressing all .png my files, Simply download it.

Open it and load all images in it. Open color Setting and in color setting you see a colors level set to 256 set it to 64 or 32 or 16 before setting any level see preview which is display in left side of window.

After the set, all set to the desired level simply presses the go button. Its compress your images to extreme level without making any noticeable changes in your images.

Note: After using this step my forum reduces its 15kb. Its a makes a huge difference and it’s also noticeable.

Check How To: Easiest Way to Compress Images for detailed instructions.

Step 5. Compress All JavaScript and CSS Files.

This is a most important step for speedup any website so definitely its help mybb forums for load faster.

I found a best tool for compressing java script /packer/.

Before packing your javascript tick Base62 encode and its compress your script. For compressing go to this awesome website Refresh-Sf.

Note: I am compressing jquery.js which is in 90kb after using packer with Base62 encode its compressed in 70kb.

Step 6. Use CDN.

Content Delivery Network(CDN) will speed up your website and also very help full if you experiencing any traffic spikes like slash dot effect or your post is displayed on the first page of Reddit.

For Setting up free cdn check this post MyBB CDN Using Google App Engine

Note: All Tips which is listed above are tested by me. After implementing this guide please share your page speed score and slow score here.

If you have any questions, please comment below. If you like the tutorial, share it on your social networks.

1 thought on “The Dummies’ Guide to SpeedUp Mybb Forums

  1. Thanks a lot for the tips, my forum scored very poor score rating and few of the tips have really helped me.

Leave a Comment

Lifetime Deal Alert: What are they saying about you? 😱Awario
+ +