View Full Version : Forum Home Enhancements - Optimise subforum statusicons
Set3sh
05-01-2014, 10:00 PM
For forum admnistrators who are trying to reduce the number of http requests in order to speed up their forum and ultimately increase their pagespeed grade, I have a quick solution.
Subforum statusicons are not that important to display.
But if you remove them entirely how can your users know if a subforum has new posts?
SIMPLE:
[1] Login to admincp: Style Manager > Edit templates > Forum Home Templates > forumhome_subforums
[2] Replace all the content with the content I provided.
Alan_SP
05-02-2014, 02:15 PM
It's not a mod, but template edit.
On the other hand, just tested it on my site and it looks quite nice, after I deleted commented part.
gsmlover4u
05-02-2014, 05:46 PM
Any screenshot ?
ramesh_umk3
05-02-2014, 06:40 PM
There will be no difference in style of your subforum icons just apply it
Tested
Before : 185 Request
After Applying: 169 Request
But unfortunately page load was almost same for both no difference
Set3sh
05-02-2014, 07:06 PM
Maybe for you there is no difference, because your internet connection is good.
But for others, less http requests means less time spent to download your resources when accessing your forum.
With other words faster loading of your forum, less bandwidth.
ramesh_umk3
05-03-2014, 05:54 AM
I test page load speed of website using my own tools were i have 1gps or 512kBps internet connections it doesn't matter :)
Page Load can be effectively optimized only with Compression of JS , IMAGE , HTML
http request doesn't helps much as you think anyway thanks for sharing ...
Regards,
fxdigi-cash
05-03-2014, 06:24 AM
Ok, to add more to ramesh_umk3 (https://vborg.vbsupport.ru/member.php?u=393431) comments, note that major load page speed depends primarily on the web server, and what modules are running on it to optimize pages contents. so if your server has Zend OpCache to cache php files and Memcached or memcache to cache Database data then you are 700% times faster than any shared hosting server. Note that extra modules such as Mod Pagespeed or varnish will also make bigger change on page load speed...
Yes, it is true that http request will reduce the time required to load a page, but does that make any difference for those who have slow internet??
The answer is NO.
Thanks for sharing :)
Set3sh
05-03-2014, 10:01 AM
Until I will fully learn what template variables I need and how they work, I thought I would release this to get some feedback.
The purpose is to know if my effort would be enough aprecieted to continue the effort of making a plugin that will optimise vbulletin.
I'm planning to include in a mod:
> autogenerate a sprite with all the images
> serve all css with a single http request (not combine all css in a single file) and cache the result in a gzipped file
> serve all javascript with a single http request and cache the result in a gzipped file
> remove unnecessary images
A total of 3-5 max http requests when loading your forum is my goal.
Nirjonadda
05-03-2014, 10:06 AM
I am still waiting for your release !
fxdigi-cash
05-03-2014, 12:34 PM
of course your effort is appreciated and no body say not!!
It is just want to put things right so no one get confused about the major factor that causes pages to perform best
waiting to know how you are going to do this good stuff though... :)
if you can combine all js and css and main images individually together, then it would be great!!
Alan_SP
05-03-2014, 12:38 PM
A total of 3-5 max http requests when loading your forum is my goal.
This sounds interesting...
Set3sh
05-03-2014, 01:37 PM
The options to combine all javascript in a single request and all css (2 http requests to serve all) are hardcoded in my test forum.
The misfortune is that I need to learn how to combine all and make a xml file to create a mod.
Because it would be bad for most owners to manually edit php files to implement this optimisation.
My other priority is how can a hacker exploit this.
ramesh_umk3
05-03-2014, 03:27 PM
A total of 3-5 max http requests when loading your forum is my goal.
Wow i don't even mind of getting 40 :D single digit http request getting is max optimize :)
good luck mate
final kaoss
05-04-2014, 04:50 PM
Pretty sneaky there, removing the subforum icon & replacing it with a symbol.
Mecho
05-05-2014, 09:58 AM
how to notice how many http requests we have before and after this ?
Thanks
ramesh_umk3
05-05-2014, 03:54 PM
how to notice how many http requests we have before and after this ?
Thanks
http://tools.pingdom.com/
And for other results below one
http://www.sitehostingtalk.com/webmaster.php
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.