1. What is a CDN?
Before introducing CDN acceleration, let's take a quick look at what a CDN is. The basic idea of CDN (content Delivery network) is to avoid the bottlenecks and links on the Internet that may affect the speed and stability of data transmission, and make content transmission faster and more stable. By placing a virtual network on top of the existing Internet based on the node servers in the network, the CDN system can re-direct the user's request to the service node closest to the user according to the network traffic and the connection of each node, the load condition and the user's distance and response time. The purpose is to enable users to obtain the request data, solve the congestion of network access, and improve the response time of the user access system.
2. CDN Acceleration
The nature of the CDN is still a cache, and the data is slow to exist in the user's nearest place, so that users get the fastest speed of data, that is, network access first jump.
Since the CDN is deployed in the network operator's room, these operators are also the end-user network provider, so the user requests the first jump to the CDN server, when the CDN server cache the user requested data, you can return from the CDN directly to the client browser, the shortest path return response, Speed up user access and reduce load pressure in the data center.
CDN can cache the general Css,js pictures and other static resource files, and these files are accessed very frequently, caching them in the CDN will greatly improve the website's access speed.
But because the CDN is deployed in the network operator's room, it is seldom used to accelerate the CDN in the general website.
CDN Acceleration for Web front-end performance optimization