vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Browser warnings? (https://vborg.vbsupport.ru/showthread.php?t=325776)

spillage 11-17-2017 12:02 AM

Browser warnings?
 
I have a member raising concern about his browser (Chrome) giving him these two warnings.

Quote:

private.php:41
A Parser-blocking, cross-origin script, http://ajax.googleapis.com/ajax/libs...n-min.js?v=425, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.

ckeditor.js?v=425:138
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
I'm up to date with vB4.2.5
Any thoughts on this?

Dave 11-17-2017 12:39 AM

Nothing critical, it just happens because of certain outdated libraries that vBulletin 4 uses which modern browsers don't really like to be used anymore.

Bestrafung 01-09-2018 03:04 PM

I've also seen several website performance tools and articles claim the document.write is slowing the site drastically. I'm not sure how true this is but if so, is there an easy way to replace all of the instances of document.write to not only speed up the site but to also make the browser happy? It seems like the majority of the scripts used by vbulletin could probably just be deferred in the footer, with the exception of the jquery ordering. Please correct me if I'm wrong.

Dave 01-09-2018 03:06 PM

It doesn't drastically slow the site in vBulletin's case, it only makes a few calls to it as far as I know which is fine.

Bestrafung 01-09-2018 03:25 PM

Quote:

Originally Posted by Dave (Post 2592181)
It doesn't drastically slow the site in vBulletin's case, it only makes a few calls to it as far as I know which is fine.

Ok, thanks for the info. I'm going to be optimizing the site and I was concerned about it affecting load times. The tools must be wrong. I looked at the source and there are only 4 document.writes on CMS and 5 on forums.


All times are GMT. The time now is 08:02 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.01097 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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