I want to fix this issue ... I get the following error or waring in the speed performance
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 25.2KiB.
http://static.ak.facebook.com/connect/xd_arbiter.php?version=10
https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=10
I have tried a number of with this below and still getting the same warnings
js.src = "https://connect.facebook.net/en_GB/all.js#xfbml=1";
js.src = "http://connect.facebook.net/en_GB/all.js#xfbml=1";
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
This is an action of the Content delivery network used by Facebook. They decide where to serve you the content from. You have no control over where it comes from.
If you REALLY want to maintain a constant URL to a certain resource, you might want to try serving that file locally. Download it to your server and manually specify the URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With