The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
YSlow Improve vb load speed v1
Good day, mates, This is a just a beginning of my journey to optimize vb to the max and possible load speed... INFO: : ------------------------------------------------ This little code can increase both load speed and vb pages performance... It works on all vb versions starting from vb3.x.x till vb5... Read more about Yslow link Note: The first release to page optimization code v1 Installation: All you have to do is copy the code below and add it to your .htaccess in the vb root, make sure to test your vb load speed before doing that in order to know whether you did the above step right or not... sites to test your vb load speed: 1- http://gtmetrix.com/ 2- http://tools.pingdom.com/fpt/ 3- Google Speed test The code: PHP Code:
All you need is to remove the code if you didn't want to use it anymore. make sure you take a copy of your .htaccess before you make any modification. Please make as installed if you used it.... Thanks, |
#22
|
|||
|
|||
Yes fxdigi, thanks for your contribution but this (and more) has already been added by me as bzcomputers pointed out. To be fair though, I can't take credit for all of that code. Thanks goes out to matty asia & the plugin for wordpress w3 total cache.
If you like though, I wouldn't mind any extra ideas that you may have that you can contribute to my article Following the steps in my guide yields these results: *With the latest test I've done for my forums, I get a score of 92 http://gtmetrix.com/reports/www.vide...t.com/lARNL8yu *With regular sites (non forums) people can get on average 90 on pagespeed & 84 for yslow http://gtmetrix.com/reports/www.odys...e.com/dgY7xuqQ *Here is a standard html page with not much javascript 98/85 http://gtmetrix.com/reports/www.odys...e.com/NEUWGtPn |
#23
|
|||
|
|||
Quote:
PHP Code:
since I don't have NGINX on my own, I can't confirm whether it is going to work 100% or not, but that should do the work anyways |
#24
|
|||
|
|||
Quote:
you can upload an image here you use on your forum to show you how far I can shrink its size... |
#25
|
|||
|
|||
maybe you can try another tester like google speed page test...!!
|
#26
|
|||
|
|||
actually, it is not only Yslow, but Page Speed Grade. That means the higher grade your page is the better performance and faster loading you will have as well as your visitors ...
you need to speed up your forum pages as fast as possible so your visitors don't run away at first time visiting... so in summery, we need ultimate speed to load pages and that happens by removing errors, avoiding bad requests, minifying css and js, combining css if possible and js as well, reducing images size to the smallest size or through using sprites....... so this is one way to do the process... and I will share the rest soon if I got enough time... Cheers |
#27
|
|||
|
|||
Thanks, final kaoss
I already know this very well. no need to thank me for anything as I don't expect it from anyone since I love sharing whatever I have. The purpose of such thread is to bring the max, useful and powerful codes that can be used by site owners pro and beginners so that anyone can get the advantage... do you think newbies for example will read you article or any article that has long story... NO WAY!! Here I want to simplify things to all by slicing up codes and so on, and introduce basic knowledge on how to deal with vb codes mainly to newbies since they are the majority ... I'm not denying anyone's right or anything and I know you guys did great job by introducing full procedure on how to speed up vb pages, but still not everyone will read long articles as people tend to go with short and useful tools. I believe you got the point, mate. Sorry for writing long, Cheers, Quote:
|
#28
|
|||
|
|||
By the way, just to comment on your tests!
I got to say they are very good, but the first one has some issue with Specifing image dimensions... I don't see this part covered in your article anyways...!! The 2nd one as well has the same issue and also sprites not being used, which was discussed in your article... The 3rd one has an issue with images optimization, ... eventually, your tests were great, but I don't know if newbies can follow you up on this, I mean to do the same as what you did... Thanks for sharing. Cheers Quote:
|
#29
|
|||
|
|||
Thanks for the feedback but I'm certain that if they follow the article step by step as intended they can get through it easily.
It's not listed in the article yes but if users use google pagespeed service, image dimensions and many other things are handled by that service. As for the issue with image optimizations please inform me of what issues you encountered. I'll be sure to check up on how your efforts are doing every now & then. Good Luck! |
Благодарность от: | ||
fxdigi-cash |
#30
|
|||
|
|||
Thanks for the comments.
I was referring to the images size. web designers are always concerned about image size since it is an essential key to load pages very fast... so if have some images with varied sizes say 2kb for 20 png image, it is going to be 40kb in total, and that will decrease the page loading speed. in this case we tend to use either sprites to avoid size issue or converting images from png to gif since gif away smaller in size. I believe CDN (CloudeFlare, MaxCDN) is not an option for everyone to use in order to ultimately speed up vb or site pages. Thanks |
#31
|
|||
|
|||
Yes I can agree with that, that a cdn is not for everyone. I personally find them to be the most effective with vbulletin when they are only set to serve javascript & css.
If you use the visual studio plugin provided along with the free trial of VS, you can shave off kb's from images without changing the file extension and after that then yes, you most certainly can use sprites. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|