Skip to content

Commit e7745b0

Browse files
Merge pull request #278805 from duongau/patch-2
Azure CDN - How CDN cache works (format text)
2 parents 0148d0a + 1319987 commit e7745b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/cdn/cdn-how-caching-works.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ When the cache is stale, HTTP cache validators are used to compare the cached ve
9494
**Last-Modified:**
9595
- For **Azure CDN Standard/Premium from Edgio** only, `Last-Modified` is used if `ETag` isn't part of the HTTP response.
9696
- Specifies the date and time that the origin server has determined the resource was last modified. For example, `Last-Modified: Thu, 19 Oct 2017 09:28:00 GMT`.
97+
- For content larger than 8 MB, origin backend servers should maintain consistent `Last-Modified` timestamps per asset. Returning inconsistent `Last-Modified` times from backend servers will cause validator mismatch errors and result in HTTP 5XX failures. Azure Storage may not support consistent `Last-Modified` timestamps across replicas, which can cause similar validator mismatch errors.
9798
- A cache validates a file using `Last-Modified` by sending an `If-Modified-Since` header with a date and time in the request. The origin server compares that date with the `Last-Modified` header of the latest resource. If the resource hasn't been modified since the specified time, the server returns status code 304 (Not Modified) in its response. If the resource has been modified, the server returns status code 200 (OK) and the updated resource.
9899

99100
## Determining which files can be cached

0 commit comments

Comments
 (0)