vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Site Optimization (https://vborg.vbsupport.ru/showthread.php?t=309969)

ozzy47 03-28-2014 02:34 AM

Site Optimization
 
This is just a sample of the sites I have optimized for people, this is the latest site I worked on.

Before Optimization, http://www.webpagetest.org/result/140327_55_15GH/

After Optimization, http://www.webpagetest.org/result/140328_NB_362/

As you can see, there is a significant improvement in the page scores.

Cut the load time almost in half.
Took 1.331s off the First Byte Time.
Cut the bytes loaded to the users browser from 867 KB to 691 KB

So as you can see, optimizing a site running vB4 is possible.

Here is my site's test, http://www.webpagetest.org/result/140309_YB_R99/

Max Taxable 03-28-2014 02:38 AM

Preach it brutha!

ozzy47 03-28-2014 02:44 AM

You know it. :)

ForceHSS 03-28-2014 02:58 AM

Do you charge to do that work?

ozzy47 03-28-2014 03:03 AM

No I do not, but the person did make a donation, even though I told him it was not necessary.

Princeton 03-28-2014 03:30 PM

poor example

all CSS should be loaded prior to ANY <scripts> ... doing so will allow the page to be rendered to the reader right away instead of waiting for <scipt> to load

<script> tags block parallel downloads

you may (or may not) improve the grade by using subdomain for static files

also, that bodiesonly site has META tags in <body>

Max Taxable 03-28-2014 03:40 PM

Quote:

Originally Posted by Princeton (Post 2490060)
you may (or may not) improve the grade by using subdomain for static files

It doesn't, the "poor man's CDN" is and always was a myth.
Quote:

poor example
Actually it is a very good example of what can be accomplished with relatively very little effort.
Quote:

all CSS should be loaded prior to ANY <scripts> ... doing so will allow the page to be rendered to the reader right away instead of waiting for <scipt> to load

<script> tags block parallel downloads
There's always a point of diminishing returns. Re-coding the entire vB4 default style to get CSS loading first isn't practical.

And as illustrated, parallel downloads were not blocked in the example, at all. (See the waterfall chart.) All the CSS loaded in the first 11 calls anyway, even before optimization work.

Disco_Dave 03-28-2014 03:58 PM

Quote:

Originally Posted by ozzy47 (Post 2489965)
This is just a sample of the sites I have optimized for people, this is the latest site I worked on.

Before Optimization, http://www.webpagetest.org/result/140327_55_15GH/

After Optimization, http://www.webpagetest.org/result/140328_NB_362/

As you can see, there is a significant improvement in the page scores.

Cut the load time almost in half.
Took 1.331s off the First Byte Time.
Cut the bytes loaded to the users browser from 867 KB to 691 KB

So as you can see, optimizing a site running vB4 is possible.

Here is my site's test, http://www.webpagetest.org/result/140309_YB_R99/


Good work, must let you loss on my forum ;)

joeychgo 03-28-2014 05:22 PM

Quote:

Originally Posted by Princeton (Post 2490060)
poor example

also, that bodiesonly site has META tags in <body>


See: https://vborg.vbsupport.ru/showthread.php?t=121315

katie hunter 03-28-2014 05:43 PM

Have you guys tried Google Page Speed ? It is free because it is in beta. It actually saves and compress all your site's images on Google's servers and serve them.

https://developers.google.com/speed/pagespeed/service

It is very fast if installed correctly and you can install it on top of Cloudflare but I preferred cloudflare due to its easy cache purge with a push of a button. With Google Page Speed it was a little bit complicated and if i am working on my site, seeing the changes right way was a bit complicated with their purge system.

joeychgo 03-28-2014 06:13 PM

1 Attachment(s)
Quote:

Originally Posted by ozzy47 (Post 2489965)

So as you can see, optimizing a site running vB4 is possible.

Proof is in the pudding....

DreadsUK 03-28-2014 07:19 PM

thats awesome dude!

ozzy47 03-28-2014 09:16 PM

Quote:

Originally Posted by Princeton (Post 2490060)
poor example

all CSS should be loaded prior to ANY <scripts> ... doing so will allow the page to be rendered to the reader right away instead of waiting for <scipt> to load

<script> tags block parallel downloads

you may (or may not) improve the grade by using subdomain for static files

also, that bodiesonly site has META tags in <body>

The CSS is being loaded before any <script> because that is the way vBulletin is doing it.

And it is a very good example, just look at the grades, and the waterfall charts.

Max Taxable 03-28-2014 09:21 PM

Quote:

Originally Posted by katie hunter (Post 2490082)
Have you guys tried Google Page Speed ? It is free because it is in beta. It actually saves and compress all your site's images on Google's servers and serve them.

https://developers.google.com/speed/pagespeed/service

It is very fast if installed correctly and you can install it on top of Cloudflare but I preferred cloudflare due to its easy cache purge with a push of a button. With Google Page Speed it was a little bit complicated and if i am working on my site, seeing the changes right way was a bit complicated with their purge system.

If your site is optimized you don't need google pagespeed or cloudflare. Plus, neither of those helps a whole hell of alot if you're not optimized. I'd love a link to your site for running through the test.:D

The main test system Ozzy and I use comes from Google's tech President Patrick Meenan. It utilizes real world browsers and internet connections to display exactly what is happening with your site on the various browsers and connections. It is objective and scientific.

Meenan is on the development team of Pagespeed.

ozzy47 03-28-2014 09:35 PM

Quote:

Originally Posted by Disco_Dave (Post 2490067)
Good work, must let you loss on my forum ;)


If you wish, PM me a admin account, and FTP info, I have two sites ahead of you, but I can do it. :)

--------------- Added [DATE]1396042674[/DATE] at [TIME]1396042674[/TIME] ---------------

Quote:

Originally Posted by katie hunter (Post 2490082)
Have you guys tried Google Page Speed ? It is free because it is in beta. It actually saves and compress all your site's images on Google's servers and serve them.

https://developers.google.com/speed/pagespeed/service

It is very fast if installed correctly and you can install it on top of Cloudflare but I preferred cloudflare due to its easy cache purge with a push of a button. With Google Page Speed it was a little bit complicated and if i am working on my site, seeing the changes right way was a bit complicated with their purge system.

Yeah i use it as a secondary test at times, but the one I usually use it better laid out and easier for me.

As for them serving the images, it is not really necessary, unless you are overloading the pages with huge images.

Disco_Dave 03-28-2014 11:04 PM

Quote:

Originally Posted by ozzy47 (Post 2490132)
If you wish, PM me a admin account, and FTP info, I have two sites ahead of you, but I can do it. :)

--------------- Added [DATE]1396042674[/DATE] at [TIME]1396042674[/TIME] ---------------


Cheers Ozzy your the man! I would thank your post, but it seems overloaded with ozzy thanks:

https://vborg.vbsupport.ru/external/2014/03/3.jpg

naveed.lodhi 03-29-2014 10:05 AM

How can I improve my website performance? http://www.webpagetest.org/result/140329_ZW_80E/ can you help me please

ozzy47 03-29-2014 11:06 AM

Quote:

Originally Posted by naveed.lodhi (Post 2490208)
How can I improve my website performance? http://www.webpagetest.org/result/140329_ZW_80E/ can you help me please

That is really not that bad, most os the bad grade with Cache static content is due to the ads, and the CDN, and the First Byte Time is most likely due to the host.

Max Taxable 03-29-2014 11:28 AM

Quote:

Originally Posted by naveed.lodhi (Post 2490208)
How can I improve my website performance? http://www.webpagetest.org/result/140329_ZW_80E/ can you help me please

You are serving 158 requests and 1.4 megabytes. I'd suggest trying to find a way to slim it down some. Show me a fat page, and I?ll show you a slow page - all the pages I analyze that are greater than 1MB in size are slow, have poor first byte time, and a good many of them get in trouble with their hosts due to the massive bandwidth involved in 1000s of pageloads by visitors including spiders, times 1.4 MB.

tpearl5 03-29-2014 08:31 PM

Those are some pretty impressive numbers, despite slightly different URL's which added 1.5 seconds to the original because of a 301 ;)

--------------- Added [DATE]1396130815[/DATE] at [TIME]1396130815[/TIME] ---------------

Quote:

Originally Posted by naveed.lodhi (Post 2490208)
How can I improve my website performance? http://www.webpagetest.org/result/140329_ZW_80E/ can you help me please

You also have tweetboard turned on in vbSEO causing a 404. It's something that was forgotten long ago by the vbSEO creator.

final kaoss 03-30-2014 03:13 PM

Good to see that my article and those articles before mine that gave me inspiration are finally catching on.

ozzy47 03-30-2014 03:14 PM

Yes sir, it is a fine job you did, and it is very useful. :)

Max Taxable 03-30-2014 03:15 PM

Quote:

Originally Posted by final kaoss (Post 2490458)
Good to see that my article and those articles before mine that gave me inspiration are finally catching on.

It's difficult to fight the tide of bloat on the web. I guess "it takes a village."

ozzy47 03-30-2014 03:26 PM

Yeah the more people preaching it, the more attention the article and the solution will get. :)

RichieBoy67 03-30-2014 05:01 PM

Thanks to some of those tips and some help from Max and from threads in Ozzy's site I have already shaved a couple seconds of load times. Well done!

lsti 03-30-2014 05:57 PM

Good Job ozzy.

One Question if i can, did you follow only this tut? Step by Step guide to speed up your VB4 OR VB3

Because i can see most of the mods mentioned over there are not supported or have some problems. Also, it would be great if you can share your method if it is not mentioned on the article.

Good job once again.

ozzy47 03-30-2014 06:34 PM

Pretty much what I did on the site is the htacces part of that tutorial, no mods were added.

RichieBoy67 03-30-2014 08:39 PM

Quote:

Originally Posted by ozzy47 (Post 2490506)
Pretty much what I did on the site is the htacces part of that tutorial, no mods were added.

Speaking of htaccess, I switched to the exact same thing you have on your site and it works very well. Thanks for that mate!

lsti 03-31-2014 03:03 AM

Quote:

Originally Posted by ozzy47 (Post 2490506)
Pretty much what I did on the site is the htacces part of that tutorial, no mods were added.

Even I have the same htaccess but I don't get the result, madu be can you sure your htaccess here if you don't mind.

ozzy47 03-31-2014 09:56 AM

You may not get the exact results, there is many variables to take into account. Did you get any improvement at all?

lsti 03-31-2014 11:49 AM

Quote:

Originally Posted by ozzy47 (Post 2490586)
You may not get the exact results, there is many variables to take into account. Did you get any improvement at all?

Yes, I didn't see any improvements at all.

ForceHSS 03-31-2014 06:25 PM

<a href="https://www.webpagetest.org/result/140331_NP_WW8/" target="_blank">M Site</a>
got a lot better after some changes

lsti 03-31-2014 06:50 PM

Quote:

Originally Posted by ForceHSS (Post 2490689)
M Site
got a lot better after some changes

You guys need to share your .htaccess file so that i can try.

ForceHSS 03-31-2014 06:59 PM

Quote:

Originally Posted by lsti (Post 2490700)
You guys need to share your .htaccess file so that i can try.

That will do you no good as each site has their own custom one. I will pm you

DreadsUK 03-31-2014 07:52 PM

Quote:

Originally Posted by ForceHSS (Post 2490689)
M Site
got a lot better after some changes

What did you do to fix the 'keep alive' bit?

RichieBoy67 03-31-2014 10:52 PM

There is a setting in php.ini in the server for this.

Go into your Vbadmincp and look at phpinfo under the maintenance tab to see if it is enabled or not on your server.

Disco_Dave 04-01-2014 10:43 AM

Guys I've gone through most of this myself, the only one that I'm getting poor results is first byte

Anyone know how to improve this?

http://www.webpagetest.org/result/140401_5N_H68/

ozzy47 04-01-2014 10:56 AM

Have you tried on a default style, with all mods disabled, and check the results then?

Disco_Dave 04-01-2014 10:58 AM

Quote:

Originally Posted by ozzy47 (Post 2490855)
Have you tried on a default style, with all mods disabled, and check the results then?


No, but I'll give it a go, my theme is more or less default modded to my own colours etc.


All times are GMT. The time now is 04:54 PM.

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.01380 seconds
  • Memory Usage 1,830KB
  • 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
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete