vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   YSlow Improve vb load speed v1 (https://vborg.vbsupport.ru/showthread.php?t=299701)

final kaoss 07-04-2013 12:09 AM

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

fxdigi-cash 07-04-2013 06:27 PM

Quote:

Originally Posted by scottct1 (Post 2431893)
I cant use this as my servers use NGINX and dont support .htaccess. :(

For NGINX try the following code:

PHP Code:

gzip_vary
syntax
gzip_vary on|off
default: gzip_vary off
context
httpserverlocation 

make a test on the common browsers before and after adding the 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

fxdigi-cash 07-04-2013 06:31 PM

Quote:

Originally Posted by addamroy (Post 2431602)
According to Google Page Speed,
this hack increased my score from 83/100 to 85/100

Not much improvement, but it is an improvement.

it is a good start, possibly there is something else needs to be addressed in your codes such as css and js order arrangement or compressing images .....

you can upload an image here you use on your forum to show you how far I can shrink its size...:)

fxdigi-cash 07-04-2013 06:33 PM

Quote:

Originally Posted by joeychgo (Post 2431577)
No appreciable difference for me - tested with gtmetrix

maybe you can try another tester like google speed page test...!! :)

fxdigi-cash 07-04-2013 06:40 PM

Quote:

Originally Posted by creativepart (Post 2431919)
What does YSlow have to do with this "mod?"

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

fxdigi-cash 07-04-2013 06:55 PM

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:

Originally Posted by final kaoss (Post 2431963)
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


fxdigi-cash 07-04-2013 07:04 PM

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:

Originally Posted by final kaoss (Post 2431963)
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


final kaoss 07-04-2013 07:12 PM

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 07-04-2013 08:01 PM

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

final kaoss 07-04-2013 09:33 PM

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.


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01307 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete