A content delivery network or content distribution network (CDN) is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and high performance by distributing the service spatially relative to end-users. CDNs serve a large portion of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social media sites.
Google Hosted Libraries
The Google Hosted Libraries is a stable, reliable, high-speed, globally available content distribution network for the most popular, open-source JavaScript libraries.
Google works directly with the key stakeholders for each library effort and accepts the latest versions as they are released.
Libraries
To load a hosted library, copy and paste the HTML snippet for that library (shown below) in your web page. For instance, to load jQuery, embed the
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js“></script>
snippet in your web page.
We recommend that you load libraries from the CDN via HTTPS, even if your own website only uses HTTP. Nowadays, performance is fast, and caching works just the same. The CDN’s files are served with CORSand Timing-Allow headers and allowed to be cached for 1 year.
Best CDN Providers To Speed Up A Website
- Cloudflare. Cloudflare is a highly reliable CDN service provider for protecting your website and boosting its performance even under Free plans. …
- MaxCDN. …
- Cachefly. …
- Rackspace. …
- Key CDN. …
- Akamai. …
- Amazon CloudFront. …
- jsDelivr.