惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
A
About on SuperTechFans
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
The Cloudflare Blog
F
Fortinet All Blogs
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
罗磊的独立博客
量子位
有赞技术团队
有赞技术团队
V
V2EX
Engineering at Meta
Engineering at Meta

James Guo’s Portfolio (@ZE3kr)

Hertz Rental Debt Collection and How I Sued the Debt Collector macOS on iPad? (with Jump Desktop) Vision Pro Initial Experience | ZE3kr The Downtime of Alibaba Cloud Hong Kong Region How Fast is mmWave 5G? 2000Mbps! See if Your iPhone Supports mmWave Magic Keyboard for iPad Pro Experience Self-built PowerDNS Advanced: GeoDNS, dnsdist, Lua Records SSD USB, Windows To Go and Mac WordPress 5.0 Update is Available, New Editor, New Theme Azure DNS, NS1, Constellix, Comparison of Three International GeoDNS Service Providers Recommendations for Some Exquisite and Useful Software on Mac Talk About Data Backup | ZE3kr Introduction to DNSSEC, How Signatures Work Cloudflare Argo And Railgun Comparison Test, The technology of CDN Acceleration Recommendations For Several Free Server Monitoring Services Comparison of Several Full-Site CDNs 2017, Another Look at SSL and HTTPS Some suggestions on website construction and service purchase Detailed Explanation of DNS Domain Name Resolution System - Basics Build Blazing Fast Mobile Pages With AMP Cloudflare's new feature experience - Load Balancing, Rate Limiting Back to WordPress' Built-In Comment System Implementing ECDSA/RSA Dual Certificate with Free Let's Encrypt How to configure for pure IPv6-Only network access Self-built PowerDNS GeoDNS Server | ZE3kr Install GitLab on Your Own Server Instead of GitHub! A Few WordPress Optimization Suggestions Comprehensive Comparison of DNS Services such as CloudXNS, Route 53, and Alibaba Cloud DNS Talk about the streaming of video on the Internet Canon Announces New APS-C Model EOS 80D, Powerful Video Recording, New Focus System and CMOS
Why use a CDN service?
2016-01-10 · via James Guo’s Portfolio (@ZE3kr)

A CDN (Content Delivery Network) is a website service that allows users to fetch static content (especially images, video, audio, CSS, and JavaScript) from the closest servers around, spread across the world as much as possible. A CDN network, to put it bluntly, is a bunch of proxy servers that automatically cache. So, what are the benefits of using a CDN? First, it can reduce the delay. My server is in the United States, and a round-trip communication from Beijing to the United States takes about 300ms. When I use a CDN (with a Chinese server), a round-trip communication takes less than 10ms. In addition, CDN can also effectively reduce the download time, because some countries will control the export bandwidth of network traffic, when the server in the mainland is used, the speed can be significantly improved.

How CDNs Work

Usually, you don’t need to upload files to the CDN, you just need to resolve the domain name to the corresponding server. When a user visits your website, it is equivalent to visiting this server. This server will check whether there is a cache, and if so, it will return it directly to you from the cache; if not, it will download it from the original server and return it to the user. After that, when users (again at this location) access, they will be downloaded directly from the files cached on the CDN, and the speed will be greatly improved. The more users visiting your site, the more noticeable this speed increase will be. If most of the requests are not cached, there is little speed gain. Other than that, it’s best to put the CDN’s domain name under a cookie-free root domain. The recommendation about CDN has been summarized in new article

CDN service recommendation

KeyCDN

KeyCDN is also very convenient to use, the nodes cover the world, the price is extremely low, and you pay on demand. It also has real-time logs. At the same time, it supports binding custom domain names, free custom SSL services, and provides free SSL certificates (Let’s Encrypt). KeyCDN only supports acceleration of static resources,

CloudFlare

In order to use CloudFlare, you need to change your domain’s NS resolution provider, that’s all, no other settings are required. CloudFlare defaults to dynamic resource acceleration. At the same time, a free SSL certificate (Comodo Positive SSL Wildcard) is provided, and CloudFlare has a free version.