Topic-icon Facebooks all.js - freezes

Active Subscriptions:

None
9 years 2 months ago #51014 by andbis
Hi my clients in China and they need to hit a VPN to get to all.js. What happens is that the entire site freezes while waiting for the file. We read on another post that JFBConnect requests it on all pages. We would like to keep it on a separate login page so it wont bog down the site.

Any ideas? I thought about using a caching or optimization plugin to defer loading of the js file.

site: www.villagetronic.com/g4/

Thank you,
-Andrew
The topic has been locked.
Support Specialist
9 years 2 months ago #51018 by alzander
Replied by alzander on topic Facebooks all.js - freezes
Andrew,
The all.js file is no longer loaded by JFBConnect and hasn't been used for about a year. There is a new Facebook Javascript library, sdk.js, which we use and recommend upgrading JFBConnect to use. In April, 2015, Facebook has stated that the older all.js library will no longer work for authentication.

As for loading it only on specific pages, that's not something we currently support. We already have code (in the latest releases) to asynchronously load the sdk.js file. If a firewall is blocking the loading of that file, there's not much we can do about it.

I hope that helps answer your questions, but if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.