How to optimize Google / FB / GA javascript on website for PageSpeed ​​Insight

PageSpeed ​​shows 97/100 and requests browser Leverage caching for next.

https://accounts.google.com/ ... 8rb1vn78o04oj.apps.googleusercontent.com (10 minutes)

https://connect.facebook.net/en_US/sdk.js (20 minutes)

https://apis.google.com/js/api:client.js (30 minutes)

https://apis.google.com/js/rpc:shindig_random.js?onload=init (30 minutes)

https://www.google-analytics.com/analytics.js (2 hours)

Read a few posts on GA where people suggested running these scripts themselves and having a cron to update the scripts. Is this what Google or FB prescribes?

Suggestions to solve this for the above scripts?

+3


source to share





All Articles