Akamai 收费问题

发布于 2024-09-02 18:00:01 字数 120 浏览 5 评论 0原文

我想知道是否有人对此有一个简单的答案。如果您访问 Akamai 服务器获取图像,但返回的响应是 304 代码而不是 200,那么 Akamai 是否会对调用收取费用,因为 304 没有返回任何数据并且图像是从浏览器缓存提供的?

I am wondering if anyone has an simple answer to this. If you hit an Akamai server for an image, but the response is returned with a 304 code instead of a 200, does Akamai charge for the call since no data is returned with a 304 and image is served from the browser cache?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

白鸥掠海 2024-09-09 18:00:01

如果您所说的收费是指计入您每月的带宽分配,那么就不会。假设您使用其 Origin Pull 服务,唯一的例外是文件位于您的缓存中但未存储在 Akamai 的边缘服务器上。在这种情况下,Akamai 从您的服务器中提取文件,这会导致带宽受到少量影响,因为传入和传出流量均由 Akamai 计算。

If by charge you mean count against your monthly bandwidth allotment, then no. Assuming you're using their Origin Pull service, the only exception is if the file is in your cache but not stored on Akamai's edge servers. In that case, Akamai pulls the file from your server which would incur a small bandwidth hit as both incoming and outgoing traffic is counted on Akamai.

月亮邮递员 2024-09-09 18:00:01

嗯,这取决于您的计费方式。按带宽还是按浏览量?

如果按带宽,那么是的,您将需要付费并且比特将代表您传送。

如果您的对象位于缓存中,则不会有任何差异。如果对象位于缓存中,则 Akamai 无需返回源来获取数据。

Well, it depends on how you are being billed. By bandwidth or by pageviews?

If by bandwidth, then yes, you would be charged and bits would be delivered on your behalf.

There is no discrepancy if your object is in cache. If the object is in cache, then Akamai won't need to go back to origin to fetch the data.

情独悲 2024-09-09 18:00:01

3xx 响应仍然会为每个请求传输少量字节来告诉您有关响应的信息。这通常由 HTTP 标头/cookies + 3xx 响应和它想要将您重定向到的 URL 组成。

因此,您将在用户和边缘节点之间产生少量成本,如果请求是缓存未命中或不可缓存,那么您的源服务器和 Akamai 之间也会产生带宽成本。

3xx responses still transfer a small number of bytes per request to tell you about the response. This typically consists of HTTP headers / cookies + 3xx response and the URL it wants to redirect you to.

Therefore you will be incurring a small amount of cost between your user and the edge node, and if the request is a cache miss or not cacheable, then also bandwidth cost between your origin server and Akamai.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文