× Joomla Facebook Connect support forum

Topic-icon Change loading of Facebook Connect

Active Subscriptions:

None
14 years 3 months ago #19424 by fb_683002041
Hi I'm not sure it has anything to do with your plugin, but the Facebook Connect load slows down the page load with almost 0.5 seconds: cl.ly/3r0i2J0X0R1B1G3S3p09

For a standard website this might be ok, but for community its "too" much.

Is it possible to load this in another way, so the page doesnt load after Facebook Connect is ready?
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19425 by mtk

fb_683002041 wrote: Hi I'm not sure it has anything to do with your plugin, but the Facebook Connect load slows down the page load with almost 0.5 seconds: cl.ly/3r0i2J0X0R1B1G3S3p09

For a standard website this might be ok, but for community its "too" much.

Is it possible to load this in another way, so the page doesnt load after Facebook Connect is ready?

Hello,
if your talking about the actual connection to facebook, then please notice the URL is tried to connect which is FB's and not some internal URL created by JFBC. this connection is between your server and FB itself and not JFBC.

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19428 by fb_683002041
It is a Facebook URL, but maybe you had some ways of optimizing the slow load of external Facebook files.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19430 by mtk

fb_683002041 wrote: It is a Facebook URL, but maybe you had some ways of optimizing the slow load of external Facebook files.

The only way of doing that is to cache them, which is basically part of the server's job. even if we managed to cache them we would have to develop an entire caching system that would have to talk with facebook's Caching API (if it exists) and also route your connection to the appropriate server which again is something that FB already does by using it internal caching system and routing you to the static CDN closer to your server.
The topic has been locked.