Reputation: 2113
I've been noticing that sometimes my Facebook app runs slow, and when checked it was because the all.js file was not loaded from the Facebook server, so I copied the file ontp my server and tested it.
Everything seems to work fine, and actually it runs faster. My question is - do you know if there are bugs or errors in doing this?
Upvotes: 7
Views: 5280
Reputation: 1221
Your page has to load the all.js file in any case.
Upvotes: 5
Reputation: 47809
The problem here is that now you're shifting a dependency, and by extension the maintenance of that dependency to your local application. If it's hosted on Facebook's servers, they can update it to fix bugs or add features.
If it's taking a long time to load, you should bring it up on their support forums
Upvotes: 5
Reputation: 493
You can have some problems when the facebook update API. You will need to regularly and frequently (every 5 min?) update the file.
Upvotes: 2