vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   Step by Step guide to speed up your VB4 OR VB3 (https://vborg.vbsupport.ru/showthread.php?t=267588)

8thos 08-01-2011 12:18 AM

Quote:

Originally Posted by extreme-gaming (Post 2227404)
I believe from what I've been reading is that if your forum is in the root, then it sharding won't work (because the cookies affect any subfolders within, just like a htaccess does to folders if it's set at the root). Cookies will still be delivered. If you make a folder for your forum and move it there to like /forum, then the subdomain sharding would work to prevent cookies.

Ooohhhhh.

Crapppp.

That would break a whole lotta links right? Cause my ranking to go down?

Damn.

final kaoss 08-01-2011 12:22 AM

It would. You can setup a 301 redirect for google and your visitors though. Within 3-4 month's you should be getting less & less crawl errors/redirects. Personally, I would mass message your members about the change or announce it, then go for it. Or register a new domain.

8thos 08-01-2011 12:31 AM

Damn.

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

By the way I used that link you posted to optimize images and it made my first byte time faster. Thanks a lot man.

final kaoss 08-01-2011 12:34 AM

No problem, it wasn't too hard to follow the way I explained it was it?

EDIT: Seems you could still use a few more optimized images
Optimizing the following images could reduce their size by 35.6KiB (57% reduction).


Quote:

Originally Posted by Octavius. (Post 2227478)
Damn.

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

By the way I used that link you posted to optimize images and it made my first byte time faster. Thanks a lot man.


8thos 08-01-2011 02:19 AM

I optimized those images and after uploading them they did not work. They appeared as question marks. The main ones that site was worried about were my menu images. I optimized those. I think I can optimize photopost thumbnails. I had jaxel's media library in the side widget but I need to optimize the thumbnails to be smaller first. I can do that in the settings.

final kaoss 08-01-2011 03:10 AM

You must have dome something wrong. Appearing as question marks means it didn't find the image. Aka a 404 error.

Mooff 08-01-2011 08:27 AM

Quote:

Originally Posted by Octavius. (Post 2227478)
Damn.

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

By the way I used that link you posted to optimize images and it made my first byte time faster. Thanks a lot man.

What?

Sorry to say that, but how is optimizing images related to first byte time?

Quote:

Originally Posted by wiki
Time To First Byte or TTFB is a measurement that is often used as an indication of the responsiveness of a webserver or other network resources.

It is the duration from the virtual user making an HTTP request to the first byte of the page being received by the browser. This time is made up of the socket connection time, the time taken to send the HTTP request and the time to taken to get the first byte of the page.

In rough the time adds up like this:
Sending http-request (timing should be similar to a ping) - your webserver (apache?) connecting to your php-system, your php system then will check whether the site can be served via your php cache or whether it has to compute everything new. For vbulletin: running the forum.php including all those database queries, takeing the output, go through the template - build the html page. And finally it goes to the user. At this point your webserver finally does know what images/html it has to send. Up until this point he does nothing and waits. So optimizing images does not influence the first byte at all. I would go for statistical fluctuation here.


You can speed up that process by using a web accelerator (varnish for example). With this it would go like that: http-request goes in, web accelerator sends cached page back. We would avoid all database queries and php compilation etc.
Since we can't really serve our users some cache data which does not check for their permissions, web accelerators can only used (not 100% true) for guests and crawlers.

But well guests and crawlers make up most of the traffic anyway, so varnish is a huge gain, really huge gain in speed and server load.

(web accelerator setup is pretty advanced and probably can't be explained in a simple how to - you need a tech admin who knows exactly what he is doing)

8thos 08-01-2011 02:27 PM

Quote:

Originally Posted by Mooff (Post 2227568)
What?

Sorry to say that, but how is optimizing images related to first byte time?



In rough the time adds up like this:
Sending http-request (timing should be similar to a ping) - your webserver (apache?) connecting to your php-system, your php system then will check whether the site can be served via your php cache or whether it has to compute everything new. For vbulletin: running the forum.php including all those database queries, takeing the output, go through the template - build the html page. And finally it goes to the user. At this point your webserver finally does know what images/html it has to send. Up until this point he does nothing and waits. So optimizing images does not influence the first byte at all. I would go for statistical fluctuation here.


You can speed up that process by using a web accelerator (varnish for example). With this it would go like that: http-request goes in, web accelerator sends cached page back. We would avoid all database queries and php compilation etc.
Since we can't really serve our users some cache data which does not check for their permissions, web accelerators can only used (not 100% true) for guests and crawlers.

But well guests and crawlers make up most of the traffic anyway, so varnish is a huge gain, really huge gain in speed and server load.

(web accelerator setup is pretty advanced and probably can't be explained in a simple how to - you need a tech admin who knows exactly what he is doing)

I installed and ran vboptimize, some parts of vbsupercharged, disabled plugins, optimized some images, got rid of apture, activated cloudflare, used some of their compression settings (except for rocketload and minimize javascript and html because they messed up parts of my site) and even ran united forum sprites and my first byte time remains an F. Forwarding this to my host so they can take a look. Thanks.

final kaoss 08-01-2011 04:14 PM

You can always try this plugin as well, to reduce cookies from javascripts, css & images. (just point the resources to a subdomain)

http://wiki.netdna.com/Implementation/vBulletin

https://vborg.vbsupport.ru/external/2011/08/121.png

8thos 08-01-2011 05:07 PM

You mean buy vbSEO?

...............................


All times are GMT. The time now is 02:18 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.01751 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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