Topic-icon JFBC Load Times

Active Subscriptions:

None
9 years 7 months ago #60069 by castrogstar
JFBC Load Times was created by castrogstar
Hello,

I have recently been told by a few devs that the JFBC is causing around 3 extra seconds of load time on initial page loads. I also noticed that signing in takes around 6-7 seconds. Do you have any advice on how to speed these two things up? I can provide you with a super user account if there is a way to post the info securely.

Thanks.
The topic has been locked.
Support Specialist
9 years 7 months ago #60072 by alzander
Replied by alzander on topic JFBC Load Times
As to your questions about load times, we do a ton of optimizations to make JFBConnect perform as fast as possible. If you're using features like the social buttons, it can add some time to the page load due to how the Javascript loads each of the buttons. JFBConnect itself should do less than 5 queries on each page load and takes only a few MB of memory, which is much less than many other extensions.

Similarly, with authentication, if you have multiple social profile plugins enabled for importing profile data, avatars, etc, it will take additional time to authenticate as there's a lot of requests to the social network to grab that data.

Our best recommendation is to use the Caching option in JFBConnect and ensure that the "Enable Debug Mode" setting is 'Off'. Beyond that, if your devs have any details on *why* they think it's JFBConnect that's causing the delay, we can gladly help look into it further.

If there is something specific to investigate, you can send a Private Message by clicking the mail icon under my name to the left.

Thanks,
Alex
The topic has been locked.
Support Specialist
9 years 7 months ago #60074 by alzander
Replied by alzander on topic JFBC Load Times
Just following this up, I ran your site through GTMetrix:
gtmetrix.com/reports/vghl.myvirtualgaming.com/wtV0Zkxe

If you look at the "Waterfall", it shows the initial response time is 3.17s, which is how long it takes for the server to generate the page. That is a bit of time, but I can't imagine disabling JFBConnect would bring that down to even under 2s. Beyond that, if you look at the rest of the items that load, the overwhelming majority of files look to come from other extensions. You can look at the file names to see which extensions are loading files.

At the very bottom are the social network buttons, which you can see generally have '0' load time because they are usually cached already by all visitors from visiting any other site with those buttons. So, they do load at the end, because that's how their Javascript code works, but they generally don't add much time to the page load.

I hope that helps some more,
Alex
The topic has been locked.