cdn预取用用户是在请求上完成的静态数据还是它完成的?
按照 akamai -
内容输送网络(CDN)是一组地理 分布式服务器通过 使其更接近用户的位置。全球数据中心 使用缓存,该过程临时存储文件的副本,因此 您可以从启用Web的设备或 通过您附近的服务器更快地浏览器。 CDNS缓存内容 像您的代理服务器中的网页,图像和视频一样 物理位置。这使您能够做诸如看电影之类的事情 下载软件,检查您的银行余额,在社交媒体上发布或 进行购买,而不必等待内容加载。
因此,我主要对“社交媒体上的帖子”感兴趣
cdn 预摘要用户的社交媒体内容(静态?),或者是在用户的请求下完成的,因为预取可能是昂贵,复杂和浪费的吗?
预取通用的静态信息,例如网站的着陆页图像,病毒视频,产品图像(亚马逊必须使用CDN为其产品提供图像,其他时间将花费大量时间来加载图像,并且将是一个非常糟糕的体验) 。
As per Akamai -
A content delivery network (CDN) is a group of geographically
distributed servers that speed up the delivery of web content by
bringing it closer to where users are. Data centers across the globe
use caching, a process that temporarily stores copies of files, so
that you can access internet content from a web-enabled device or
browser more quickly through a server near you. CDNs cache content
like web pages, images, and video in proxy servers near to your
physical location. This allows you to do things like watch a movie,
download software, check your bank balance, post on social media, or
make purchases, without having to wait for content to load.
So I am mainly interested in "post on social media"
Will the CDN prefetch a user's social media content (static?) or will it be done at the user's request because prefetching can be costly, complex and wasteful?
Prefetching generic static information, such as a website's landing page image, a viral video, product images (amazon must use CDN to deliver images for their products else it will take lot of time to load images and will be a very bad experience) makes sense.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
无论是社交媒体内容还是静态网站,Akamai都不会获取内容,除非请求到该内容的平台。当时,根据如何为您的特定站点配置平台,将在一段时间内为后来的用户缓存内容。
一些注释:
Whether it is social media content or a static website, content is not fetched by Akamai except when a request comes to the platform for the content. At that point, depending on how the platform is configured for your particular site, the content is cached for later users for a period of time.
A few notes:
例如,对于用户配置文件,我不会使用缓存。同步所有数据以使其保持最新很复杂。
CDN系统通常让您设置是否缓存文件以及更新该文件的频率。
In the case of user profiles, for example, I would not use caching. Synchronizing all the data to keep it up to date is complicated.
CDN systems usually let you set whether to cache the file and how often to update it.