vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Big Issue with javascript and admin panel refreshing (https://vborg.vbsupport.ru/showthread.php?t=321624)

RichieBoy67 01-28-2016 01:34 AM

Big Issue with javascript and admin panel refreshing
 
Ok, yesterday I switched to cloudflare. Today all of a sudden my admincp panel keeps refreshing and my javascript ticker is showing a letter A after every thread. Help please.

Max Taxable 01-28-2016 01:37 AM

You don't need cloudflare. It doesn't help performance and it actually slows down first byte time. I used it for two years before I learned how to actually optimize a site.

My advice is dump it.

See if you have the Rocket Loader enabled, it's known to cause these types of issues.

RichieBoy67 01-28-2016 01:38 AM

Yep

Max Taxable 01-28-2016 01:38 AM

See if you have the Rocket Loader enabled, it's known to cause these types of issues.

RichieBoy67 01-28-2016 01:43 AM

Actually my first time load hasn't changed much at all and my reload time has improved but I am not really using it for faster load. I am using it because I need external name servers. I will just be using it until I figure out how to get better ones.

I believe it was RocketLoader on Cloudflare that was causing the issue but I disabled all the extras until I figure out exactly what was causing the issue.

Max Taxable 01-28-2016 01:45 AM

Well, it's documented that CF interferes with the "handshake" thereby causing longer first byte time, CF even admitted it finally.

But yeah, RocketLoader definitely messes up stuff.

shimei 01-28-2016 02:42 AM

Quote:

Originally Posted by RichieBoy67 (Post 2563631)
Ok, yesterday I switched to cloudflare. Today all of a sudden my admincp panel keeps refreshing and my javascript ticker is showing a letter A after every thread. Help please.

https://vborg.vbsupport.ru/external/2016/01/1.jpg

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.

RichieBoy67 01-28-2016 03:03 AM

Quote:

Originally Posted by Max Taxable (Post 2563640)
Well, it's documented that CF interferes with the "handshake" thereby causing longer first byte time, CF even admitted it finally.

But yeah, RocketLoader definitely messes up stuff.

My site wasn't loading so fast in the first place.

shimei 01-28-2016 03:04 AM

<a href="https://blog.cloudflare.com/ttfb-time-to-first-byte-considered-meaningles/" target="_blank">Stop worrying about first byte time.</a>

Max Taxable 01-28-2016 04:07 AM

Quote:

Originally Posted by shimei (Post 2563646)

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.


All times are GMT. The time now is 06:34 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.01156 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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