使用 Google 所提供的 Hosted Libraries 開源外連函式庫

Hosted Libraries 是一個由Google所提供常見的 javascript 開源外連的服務,只需要將Google Hosted Libraries需要的js資料複製,貼至自己網站上面後就能擁有這項功能,藉此來節省自己網站內的頻寬、也能在自己內部網站js檔案失效時,提供另外一個備案措施。

名稱:Google Hosted Libraries
網站:https://developers.google.com/speed/libraries/
Google Hosted Libraries 提供一些常見的 JS 檔案連結,例如:JQuery。

使用 Google 所提供的 Hosted Libraries 開源外連函式庫

使用方法很簡單,將所需的JS檔案語法複製至</head>內就能使用這項功能,例如底下的 JQuery 3.x 版本。

使用 Google 所提供的 Hosted Libraries 開源外連函式庫
相關文章
作者簡介
個人頭像照片
努力寫文中!