当前位置:网站首页>What?CDN cache acceleration only works for accelerating static content?
What?CDN cache acceleration only works for accelerating static content?
2022-08-05 06:15:00 【Chengyun Technology】
Partners who want to buy Alibaba Cloud CDN pay attention
CDN's cache acceleration is only suitable for accelerating static content.First, let's distinguish two concepts - static content and dynamic content.
Static content (static assets)
Static content refers to static files with the same data accessed in different requests.For example: pictures, videos, files in the website (html, css, js), software installation packages, apk files, compressed package files, etc.
Dynamic Content (Dynamic Assets)
Dynamic content refers to dynamic content with different data accessed in different requests.For example: files in the website (asp, jsp, php, perl, cgi), API interfaces, database interaction requests, etc.
Why is CDN only suitable for accelerating static content?
Before figuring out the problem, let's take a look at the acceleration principle of CDN.Assuming that your acceleration domain name is www.aliyundoc.com, after accessing the CDN and starting the acceleration service, when an end user initiates an HTTP request in Beijing, the processing flow is shown in the following figure.

The essence of CDN acceleration is cache acceleration
When facing static content, cache the static content stored on the server on the Alibaba Cloud CDN node. When you access these static content, you do not need to visit the server origin site, but visit the nearest Alibaba Cloud CDN node to obtain the same content.In order to achieve the effect of acceleration, while reducing the pressure on the server origin.
When the acceleration object is dynamic content, when you access these dynamic content, you need to visit your server every time, and the server dynamically generates real-time data and returns it to you.Therefore, CDN cache acceleration is not suitable for accelerating dynamic content, and CDN cannot cache dynamic content that changes in real time.For dynamic content requests, the CDN node can only forward it back to your server origin without any acceleration effect.
If your website or app has a lot of dynamic content, for example, you need to accelerate various API interfaces, you need to use Alibaba Cloud's full-site acceleration product.Site-wide acceleration can accelerate both dynamic and static content in the following ways:
1. Static content is accelerated using CDN.
2. Dynamic content can access your server origin site to obtain data at the fastest speed through Alibaba Cloud's dynamic acceleration technologies such as routing optimization and transmission optimization.So as to achieve the effect of accelerating the whole station.
Currently, Alibaba Cloud has 2800+ nodes worldwide.Mainland China (Mainland) has 2300+ nodes, covering 31 provincial-level regions; overseas, China Hong Kong, China Macau and China Taiwan have 500+ nodes, covering more than 70 countries and regions.The entire network bandwidth output capability reaches 150 Tbps.
CDN caches the resources of the origin site to the acceleration nodes of Alibaba Cloud all over the world. When end users request to access and obtain the resources of the origin site, they do not need to go back to the origin. They can obtain the resources already cached on the CDN nodes nearby, which improves the speed of resource access.Share the pressure on the origin site.Currently, some CDN nodes already support IPv6 access.
CDN access is fast and simple. You do not need to adjust the existing business structure or perform complex configuration. You only need to perform simple operations on the CDN console to connect the domain name to Alibaba Cloud and enjoy the global linkAccelerate service.With the quick start, you can easily start the CDN acceleration service.
边栏推荐
- spark源码-任务提交流程之-1-sparkSubmit
- 单臂路由与三成交换机
- 【Day8】(超详细步骤)使用LVM扩容
- [Pytorch study notes] 8. How to use WeightedRandomSampler (weight sampler) when the training category is unbalanced data
- 深度 Zabbix 使用指南——来自惨绿少年
- spark source code - task submission process - 5-CoarseGrainedExecutorBackend
- IP packet format (ICMP protocol and ARP protocol)
- Getting Started Document 01 series in order
- IJCAI 2022|Boundary-Guided Camouflage Object Detection Model BGNet
- 【机器学习】1单变量线性回归
猜你喜欢

Image compression failure problem

Mongodb查询分析器解析

实力卷王LinkSLA,实现运维工程师快乐摸鱼

The problem come from line screening process

入门文档01 series按顺序执行
![[Day8] Commands involved in using LVM to expand](/img/ba/39b81cbcecec9bc54a710ff9dba81a.png)
[Day8] Commands involved in using LVM to expand

Mongodb query analyzer parsing
![[Day5] Soft and hard links File storage, deletion, directory management commands](/img/15/7ed58a180a72ace3463626bf446633.png)
[Day5] Soft and hard links File storage, deletion, directory management commands

【Day8】(超详细步骤)使用LVM扩容

VRRP概述及实验
随机推荐
技术分享杂七杂八技术
千亿IT运维市场,产品要凭实力说话
ALC实验
Dsf5.0 bounced points determine not return a value
单臂路由与三成交换机
入门文档08 条件插件
【Day8】RAID Disk Array
Getting Started Documentation 10 Resource Mapping
time complexity and space complexity
有哪些事情是你做了运维才知道的?
One-arm routing and 30% switch
I/O performance and reliability
VRRP原理及命令
Technology Sharing Miscellaneous Technologies
spark operator-parallelize operator
spark算子-wholeTextFiles算子
spark source code - task submission process - 1-sparkSubmit
wc、grep、tar、vi/vim
增长:IT运维发展趋势报告
markdown editor template