vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Google "Page Speed" (https://vborg.vbsupport.ru/showthread.php?t=240753)

ps2wiz 04-18-2010 07:36 PM

Google "Page Speed"
 
So since now Google uses the loading times of a site as a variable for ranking, they released a "Page Speed" add on for FireBug that basically analyzes your site with tips on how to improve it.

Now, I just ran this tool and found a plethora of issues. Problem is, some of these are just core vBulletin things, and I am not sure how I could tweak it?

Here are just 2 (out of many more) examples:

http://img192.imageshack.us/img192/1580/pagespeed.png




http://img180.imageshack.us/img180/6981/pagespeed2.png


What are your thoughts?

NickyDee 04-19-2010 09:00 PM

This only really matters if your site is particularly slow. In the past, we used to live or die by page loading times - but fortunately these days most internet connections are so fast that for a standard website they will appear to load pretty much instantly anyway, so load times only become important for video or music streaming sites.

If google reports a load time of 3-5 seconds for most pages then that really isn't that bad. If you're looking at 5-10 second on every page then that might want addressing as their is a systematic problem going on, in so much as your server is either struggling or its connection to the internet is slow (or too small to cope with the number of connections).

Hammering out the ineffeciencies in vBulletin may squeeze a little bit of lag out of the load times, but really if the site is slow its probably the hardware or connection that need addressing not vbulletin.

Jaxel 04-19-2010 09:42 PM

NickyDee, thats a nice thought, probably the one that lead to how much of a travesty VB4 is on performance. There is a systematic problem going on, and its VB4 itself. VB4 is so slow that we need to do EVERYTHING we can to speed it up for our users; and if caching is what we can do, then it is our responsibility as administrators to do it.

Try adding this to the top of your htaccess file...

Code:

## Charset
AddDefaultCharset Off

## ETags
FileETag None

## Expires
<ifModule mod_expires.c>
        ExpiresActive On
        ExpiresDefault "access plus 1 seconds"
        ExpiresByType text/html "access plus 1 seconds"
        ExpiresByType image/gif "access plus 259200000 seconds"
        ExpiresByType image/jpeg "access plus 259200000 seconds"
        ExpiresByType image/png "access plus 259200000 seconds"
        ExpiresByType text/css "access plus 60480000 seconds"
        ExpiresByType text/javascript "access plus 21600000 seconds"
        ExpiresByType application/x-javascript "access plus 21600000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
        <ifmodule mod_deflate.c>
                AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4\.0[678] no-gzip
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        </ifmodule>
</ifmodule>


ps2wiz 05-06-2010 07:42 AM

Jaxel, thank you for that. Unfortunately, I do not use Apache, instead I use a IIS7 server. Would you be able to tell instruct me on the proper format for a web.config file (instead of the above .htaccess)

Thank you very much.

symptome 07-29-2010 05:32 PM

Quote:

Originally Posted by ps2wiz (Post 2023369)
So since now Google uses the loading times of a site as a variable for ranking, they released a "Page Speed" add on for FireBug that basically analyzes your site with tips on how to improve it.

Is this correct? (as far as we are able to know something about that)

Retal 07-29-2010 07:42 PM

If you're worried about the speed of your website - and you should be! - read this great series on website loading and rendering speed by ex-Yahoo, now Google engineer.
http://developer.yahoo.com/performance/rules.html

symptome 07-30-2010 04:54 AM

This is in fact a great list. Thank you very much.
What is the best tool to measure the speed in your eyes?
And which tool is best to show the most important things to correct for performance?
I've got the yslow and the page speed add-on of firefox. Are they good?
Or is there something even better?


All times are GMT. The time now is 09:20 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.01107 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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