Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-28-2016, 04:21 AM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Yeah, that old article is crap. They later ADMITTED CF screws with the handshake. Plus, they don't understand what is happening in request #1 - this is where the server queries the code, scripts and database to create the executable page source code file, and uploads this to the browser to execute. It's no mystery anymore why this file is so much larger and takes a lot longer to compile when you have a CDN. Request #1 IS the FBT. It's not even a debate anymore and ceased to be one some time back.
Are the issues you're stating still accurate? I don't how accurate WebPageTest is but I just ran my site through WebPageTest and came out with a first byte time of .401s and second repeat view of .269s. The site scored an A for first byte time.

This is through Cloudflare: http://www.webpagetest.org/result/160128_YG_9SK/
Reply With Quote
  #12  
Old 01-28-2016, 04:59 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shimei View Post
Are the issues you're stating still accurate?
Yes they are and in fact, I was able to successfully lobby Patrick Meenan to adjust WPT so it doesn't assign really low target first byte times to sites that have CDNs. That is why now we get a artificial score on FBT for sites using CDNs. WPT changed the way it handles CDNs, that does NOT change the issue CDNs create with FBT.

Here's what you really look like, use IE 11 only as the test browser, for worst case. Firefox and Chrome skip certian types of calls to make themselves appear "faster" to the end user.

http://www.webpagetest.org/result/160128_F8_AW6/




It's not open to debate, CF acknowledged it. It's simply a fact. But like any other religious belief, no amount of facts can persuade a CF evangelist.
Reply With Quote
  #13  
Old 01-28-2016, 05:07 AM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Yes they are and in fact, I was able to successfully lobby Patrick Meenan to adjust WPT so it doesn't assign really low target first byte times to sites that have CDNs. That is why now we get a artificial score on FBT for sites using CDNs. WPT changed the way it handles CDNs, that does NOT change the issue CDNs create with FBT.

Here's what you really look like, use IE 11 only as the test browser, for worst case. Firefox and Chrome skip certian types of calls to make themselves appear "faster" to the end user.

http://www.webpagetest.org/result/160128_F8_AW6/
Thanks Max.
Reply With Quote
  #14  
Old 01-28-2016, 05:10 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shimei View Post
Thanks Max.
When I got CF to admit the issue, and got Meenan to CHANGE WPT, pretty much case closed. Wouldn't you say? I got tired of wasting mine and other people's time over FBT on sites that use CDNs and in the process, ended the debate.
Quote:
Originally Posted by shimei View Post
I don't how accurate WebPageTest is
It is the ONLY test site out there that uses real browsers, real connections and is REAL WORLD scientific testing.
Reply With Quote
  #15  
Old 01-28-2016, 05:21 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More edification. Long read but very educational:

https://thethemefoundry.com/blog/why...-cdn-spdy-ssl/
Quote:
On the second line, SSL negotiation time is bothersome. This line represents the download of our site’s CSS file from MaxCDN’s servers. This request involves a DNS lookup (76ms; blue-green), a TCP connection (110ms; orange), an SSL negotiation (429ms; purple) and the content download (243ms; bright green). Notice that the SSL negotiation was roughly 4 times the length of the initial TCP connection. Clearly, the SSL negotiation is not well tuned. We spent a lot of time tuning our SSL connection for speed and now we are suffering from slow SSL negotiation on the CDN. This was not the result I was hoping for when we implemented the CDN.

Another thing to note about the CDN performance (items 2-13, 15-16) is that this negotiation is repeated 3 times. Additionally, we incur extra DNS lookups, which slows our asset loads. Fortunately, the last time, I believe that the SSL negotiation uses SSL resumption and it is much quicker. Finally, notice the diagonal waterfall of the elements. We are seeing the same serial download pattern that we saw in our pre-launch site tests.
Reply With Quote
  #16  
Old 01-28-2016, 07:03 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shimei View Post
For your admincp...

I had the same issue. You have to create a page rule in Cloudflare. Create a rule for your admincp, mine is as following: http://yourdomain/admincp/index.php*

The above rule was for my Vb5 site, I don't know whether your admincp is using a different url. Just basically disable all caching and performance related options for admincp in your page rule.

Regarding issues with other parts of the site... there's a performance option in cloudflare that is beta... it is under the speed category and is called "Rocket Loader". It caused all kinds of issues so I turned it off.
Thanks, I will try that though the issues has gone away since I turned off Rocketbooster..I think that thing has been in beta a long time.

I just wasn't sure which setting was causing the issue at first so I disabled everything and turned them on one at a time. All seems ok now.

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

Quote:
Originally Posted by Max Taxable View Post
More edification. Long read but very educational:

https://thethemefoundry.com/blog/why...-cdn-spdy-ssl/
Well the site in question usually takes around 5 seconds for first page load depending on what page is visited. It is heavily customized and very media heavy. I would like to get the speed down but I have done pretty much what can be done without re-themeing.

As for Cloudflare, I really switched to it because I needed a free external dns and they seemed pretty solid. Like I said, I have not noticed a difference in first time page load but once cached i have noticed a much faster load time so far.

Some of the options are pretty decent as well like the smart error page. if someone gets a 404 they will get an error page with a search of your pages related to what they were visiting. That is pretty awesome.

Thanks for the research. I will definitely check it out. I am always happy to learn more.
Reply With Quote
  #17  
Old 01-28-2016, 10:36 AM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Richie, one thing you can do is increase the caching of static content beyond 5 hours for repeat visitors.

You have a 404 to fix as well http://www.webpagetest.org/result/16...P3H/1/details/
Reply With Quote
Благодарность от:
RichieBoy67
  #18  
Old 01-28-2016, 10:41 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by final kaoss View Post
Richie, one thing you can do is increase the caching of static content beyond 5 hours for repeat visitors.

You have a 404 to fix as well http://www.webpagetest.org/result/16...P3H/1/details/
Thanks!

Funny you mentioned that as I had increased that already from 4 to 5 upon set up.

I am checking that link right now! I am sure we have a few of those kicking around..

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

I removed the ssl image thing as the javascript was slowing the entire site load.

I am looking at the tag cloud. I think it is the style cache. I wll just turn it off for awhile I think. I recently cleared all the tags and there are only a few now..The rest must be stuck in the style cache.
Reply With Quote
  #19  
Old 01-28-2016, 04:56 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could probably get away with caching js/css for a month or two and the images for 1-2 weeks.
Reply With Quote
  #20  
Old 01-29-2016, 08:09 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by final kaoss View Post
You could probably get away with caching js/css for a month or two and the images for 1-2 weeks.
Actually I was just about to make a new thread about this very topic but seeing as it is related we may as well discuss it here if ok with the mods.

In regards to caching I am still trying to figure out how to do this properly with Cloudflare. With the free account caching options are very limited.

Are you referring to htaccess because those settings are bypassed now by cloudflare. I can set a longer time but the only other options are:
No Query String
Ignore Query String
Standard

I currently have standard set.

I know there are ways to link my images directly from the cdn or use my own ip address which would then use my htaccess but that would remove the security.

#Question.. I have a mail server set up through my domain and ip and the record is in cloudflare. Do I need this record there? It is a security vulnerability as it allows people to see my ip directly.

Thanks!!

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

Going to create a new post. Having more problems.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:11 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.04532 seconds
  • Memory Usage 2,278KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete