We moved this page to our Documentation Portal. You can find the latest updates here. |
Question:
How does CDN handle receiving a range/partial download request for a miss?
Environment:
OnApp CDN
Answer:
OnApp CDN handles requests for partially cached content in the following way:
1) Uncached range requests starting from 0 are filled from origin starting from 0. The response is cached.
2) Uncached range requests starting from > 0 are proxied to the origin with the requested range. This means that uncached range requests can always be served immediately without waiting for the file to fill from the beginning. However, this partial response from the origin, is NOT cached.
3) Cached range requests are served from cache, returning the requested ranges.
In all scenarios, the end user gets a 206 Partial Content response.