forked from ibm-cloud-docs/CDN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split the faq
- Loading branch information
Leslie Lundquist
committed
May 4, 2018
1 parent
2748d7e
commit db75021
Showing
5 changed files
with
130 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
|
||
copyright: | ||
years: 2018 | ||
lastupdated: "2018-05-03" | ||
|
||
--- | ||
|
||
{:shortdesc: .shortdesc} | ||
{:new_window: target="_blank"} | ||
{:codeblock: .codeblock} | ||
{:pre: .pre} | ||
{:screen: .screen} | ||
{:tip: .tip} | ||
{:download: .download} | ||
|
||
|
||
# Working with Byte-range Requests | ||
|
||
Using a byte-range request, you can retrieve partial content from an origin server. This document can help you understand the response status codes you might see. | ||
|
||
When a **Byte-range request** is sent using IBM Cloud CDN with Akamai, the user may receive a `200 (OK)` response code for the first request, and a `206` response code for all subsequent requests, because Akamai edge servers request content from the origin in compressed format. Therefore, when an edge server doesn't have an object in its cache, nor does it have any information regarding the content length of the object, it forwards to the origin and requests the entire object. In return the origin serves the object without the content length header to Akamai, and the end-user is served the whole object even though it was a byte-range request. Thus the `200` Status code. On subsequent requests, the edge server has the object in its cache and serves the `206` status code. | ||
|
||
The **Range HTTP request** header indicates which part of the content the server should return. Several parts can be requested with one range header at once, and the server may send back these ranges in a multipart response. If the server sends back ranges, it responds with a 206 (Partial Content) status. | ||
|
||
One way to ensure a 206 response, even for the first byte-range request, is to disable `Transfer-Encoding: chunked` on your origin server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
|
||
copyright: | ||
years: 2018 | ||
lastupdated: "2018-05-03" | ||
|
||
--- | ||
|
||
{:shortdesc: .shortdesc} | ||
{:new_window: target="_blank"} | ||
{:codeblock: .codeblock} | ||
{:pre: .pre} | ||
{:screen: .screen} | ||
{:tip: .tip} | ||
{:download: .download} | ||
|
||
# Limits and Maximum Values | ||
|
||
## Is there a maximum value for Time To Live? A minimum? | ||
|
||
The maximum value for Time To Live is 2,147,483,647 seconds, which equates to roughly 68 years! The minimum value is 30 seconds. | ||
|
||
## Is there a limit on the number of Origin and TTL entries? | ||
|
||
Yes, the combined limit is 75 entries per CDN. | ||
|
||
## Is there a limit on the number of CDNs I can have? | ||
|
||
Yes, you can have a limit of 10 CDNs per account. | ||
|
||
## Is there a limit on the number of Purge requests that can be active at once? | ||
Yes. There can only be 5 active purge requests at a time. | ||
|
||
## What is the largest file size that can be delivered via Akamai CDN? | ||
|
||
Attempts to retrieve or deliver files larger than 1.8GB will receive a `403 Access Forbidden` response for the default performance configuration. If Large File Optimization is enabled, file downloads up to 320GB are possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
|
||
copyright: | ||
years: 2018 | ||
lastupdated: "2018-05-03" | ||
|
||
--- | ||
|
||
{:shortdesc: .shortdesc} | ||
{:new_window: target="_blank"} | ||
{:codeblock: .codeblock} | ||
{:pre: .pre} | ||
{:screen: .screen} | ||
{:tip: .tip} | ||
{:download: .download} | ||
|
||
# Metrics | ||
|
||
## How do I view the metrics and usage? | ||
|
||
You can view metrics and usage on the **Overview** page, which can be reached by selecting your CDN from the **Content Delivery Networks** page. **NOTE**: After you create your CDN, it may take up to 48 hours for metrics to appear. | ||
|
||
## I created a CDN and there was data traffic through the CDN. Why don't my metrics show up? | ||
|
||
After a CDN is created, it takes 48 hours for metrics to appear. | ||
|
||
|
||
## Is there a minimum number of days for which I can view metrics? Is there a maximum? | ||
|
||
There are a minimum and a maximum number of days for which you can view metrics using IBM Cloud Content Delivery Network with Akamai. Metrics can be gathered for a minimum of 7 days. Metrics can be viewed for a maximum of 90 days. For those using the API, it is recommended to use 89 days as the maximum, to account for any differences in time zones. | ||
|
||
## Why is the hit ratio non-zero when total hits are zero? | ||
Hit ratio represents the percentage of times the content was delivered from the Edge Server Cache, rather than being delivered from the Origin Server. It is calculated as follows: | ||
|
||
> ((Edge hits - Ingress hits)/Edge hits) * 100 | ||
where: | ||
Edge hits is defined as "All hits to the edge servers from the end-users" | ||
Ingress hits is defined as "Origin or Ingress hits are for traffic from your origin to Akamai edge servers" | ||
|
||
Because Hit Ratio is calculated at the Account level and not per CDN, the Hit Ratio will be the same for all the CDNs in your account. This fact also explains why the Hit Ratio may be non-zero when the number of Edge hits for a particular CDN is zero. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
|
||
copyright: | ||
years: 2018 | ||
lastupdated: "2018-05-04" | ||
|
||
--- | ||
|
||
{:shortdesc: .shortdesc} | ||
{:new_window: target="_blank"} | ||
{:codeblock: .codeblock} | ||
{:pre: .pre} | ||
{:screen: .screen} | ||
{:tip: .tip} | ||
{:download: .download} | ||
|
||
# What's New | ||
|
||
IBM Cloud launched the CDN service with Akamai in September 2017, but we haven't stopped there. We continue to make enhancements and add new features to the service, in order to better serve you and your end-users. Check back periodically to see what's new. | ||
|
||
## March 2018 | ||
|
||
* Large File Optimization [feature description](about.html#large-file-optimization-) | ||
* Cache Key Optimization [feature description](about.html#cache-key-optimization-) | ||
* Video On Demand Optimization [feature description](about.html#video-on-demand-optimization-) |