CDN
Content Delivery Network
CDNとは、専用の配信ネットワーク(CDNプラットフォーム)を利用して、Webサイトにアクセスしようとするエンドユーザに最も近いPoP(配信拠点)から効率的にWeb用の資源を配信する仕組みです。
CDNJS
- https://cdnjs.com/
- 利用例
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/core.js"></script>
Google CDN
- https://developers.google.com/speed/libraries/
- 利用例
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
jQuery CDN
- https://code.jquery.com/
- 利用例
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
jsDelivr – Open Source CDN
npmcdn
- https://npmcdn.com
- 利用例(jQueryの最新版を利用)
<script src="https:/npmcdn.com/jquery"></script>