2011-02-22, 07:26 AM
I recently noticed that my board was running a little slow, and did some checking about on the internet for tools to help me fix it.
I got the Page Speed plugin for firefox and ran it on my mybb forum, and nearly fell off my chair.......
Here is some data from my Showthread (not hugely customised)
JS - Combine external JavaScript
There are 16 JavaScript files served from www.leefish.nl. They should be combined into as few files as possible.
* http://www.leefish.nl/jscripts/general.js?ver=1600
* http://www.leefish.nl/jscripts/highlight.js
* http://www.leefish.nl/jscripts/inline_mo...s?ver=1600
* http://www.leefish.nl/jscripts/popup_menu.js?ver=1600
* http://www.leefish.nl/jscripts/prototype.js?ver=1600
* http://www.leefish.nl/jscripts/thread.js?ver=1600
6 of them are mybb required files....
JS - Enable compression
Compressing the following resources with gzip could reduce their transfer size by 161.4KiB (72% reduction)
Pretty much the same files as in the first list.
Minimize request size
The requests for the following URLs don't fit in a single packet. Reducing the size of these requests could reduce latency.
Example:
# http://www.leefish.nl/cache/highlight.css has a request size of 1.9KiB
* Request URL: 46B
* Cookies: 1.3KiB (note that this is a static resource, and should be served from a cookieless domain)
* Referer Url: 50B
* Other: 514B
So it seems I have three big problems here - one could be solved by combining the js.files (which I don't know how to do) - advice/help requested.
I have GZIP enabled on my board - should I compress the files more using an online compressor?
Most concerning (I thought) is the request sizes, due to the cookies. Even if I compress then the cookies will still be there. So I looked up how to deal with this cookie issue.
But I now have a problem - I followed this advice in the general configuration page of MYBB:
Cookie Domain
The domain which cookies should be set to. This can remain blank. It should also start with a . so it covers all subdomains.
This appears to have been a BAD move - it seems that my whole domain is now cookiefied and now in order to serve these files from a static domain and get that request size down I need to buy a new domain???
I would like to try and speed up my board by optimising the performance rather than removing features, and any help on how I can go about doing that is appreciated.
I got the Page Speed plugin for firefox and ran it on my mybb forum, and nearly fell off my chair.......
Here is some data from my Showthread (not hugely customised)
JS - Combine external JavaScript
There are 16 JavaScript files served from www.leefish.nl. They should be combined into as few files as possible.
* http://www.leefish.nl/jscripts/general.js?ver=1600
* http://www.leefish.nl/jscripts/highlight.js
* http://www.leefish.nl/jscripts/inline_mo...s?ver=1600
* http://www.leefish.nl/jscripts/popup_menu.js?ver=1600
* http://www.leefish.nl/jscripts/prototype.js?ver=1600
* http://www.leefish.nl/jscripts/thread.js?ver=1600
6 of them are mybb required files....
JS - Enable compression
Compressing the following resources with gzip could reduce their transfer size by 161.4KiB (72% reduction)
Pretty much the same files as in the first list.
Minimize request size
The requests for the following URLs don't fit in a single packet. Reducing the size of these requests could reduce latency.
Example:
# http://www.leefish.nl/cache/highlight.css has a request size of 1.9KiB
* Request URL: 46B
* Cookies: 1.3KiB (note that this is a static resource, and should be served from a cookieless domain)
* Referer Url: 50B
* Other: 514B
So it seems I have three big problems here - one could be solved by combining the js.files (which I don't know how to do) - advice/help requested.
I have GZIP enabled on my board - should I compress the files more using an online compressor?
Most concerning (I thought) is the request sizes, due to the cookies. Even if I compress then the cookies will still be there. So I looked up how to deal with this cookie issue.
But I now have a problem - I followed this advice in the general configuration page of MYBB:
Cookie Domain
The domain which cookies should be set to. This can remain blank. It should also start with a . so it covers all subdomains.
This appears to have been a BAD move - it seems that my whole domain is now cookiefied and now in order to serve these files from a static domain and get that request size down I need to buy a new domain???
I would like to try and speed up my board by optimising the performance rather than removing features, and any help on how I can go about doing that is appreciated.