How to Manage Expiration of Blob Content in the Azure Content Delivery Network (CDN): Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Category:English pages Category:Vista tips and tricks Category:Internettet Category:Internet <google>ENGELSK</google>') |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
[[Category:Internettet]] | [[Category:Internettet]] | ||
[[Category:Internet]] | [[Category:Internet]] | ||
CDN caches items where a cache value is not set for the default TTL of 7 days.<br> | |||
CDN is best for static content with a high cache hit ratio.<br> | |||
CDN would still cache the content, unless the cache-expiry passes, or the file name changes.<br> | |||
Using CDN for dynamic content is not recommended, because it causes the user to wait for a double hop from storage to cdn and from cdn to user.<br> | |||
* [http://msdn.microsoft.com/en-us/library/azure/gg680306.aspx How to Manage Expiration of Blob Content in the Azure Content Delivery Network (CDN)] | |||
* [http://msdn.microsoft.com/en-us/library/azure/dd179451.aspx Put Blob - The Put Blob operation creates a new block blob or page blob, or updates the content of an existing block blob.] | |||
* [http://blog.thoughtstuff.co.uk/2014/01/streaming-mp4-video-files-in-azure-storage-containers-blob-storage/ Streaming MP4 video files in Azure Storage containers (Blob Storage)] | |||
You also pay twice the bandwidth on the initial load. | |||
You can check the TTL using wget.exe of Fiddler:<br> | |||
''wget.exe --server-response --spider [URL]'' | |||
If the response says: | |||
HTTP request sent, awaiting response... | |||
HTTP/1.1 200 OK | |||
... | |||
Cache-Control: 3600 | |||
... | |||
the item will be cashed for 36000 seconds = 1 hour. | |||
x-ms-blob-cache-control: public, max-age=36000 | |||
* [http://azure.microsoft.com/en-us/documentation/articles/cdn-how-to-use/ Using CDN for Azure] | |||
<google>ENGELSK</google> | <google>ENGELSK</google> |
Latest revision as of 14:23, 19 May 2014
CDN caches items where a cache value is not set for the default TTL of 7 days.
CDN is best for static content with a high cache hit ratio.
CDN would still cache the content, unless the cache-expiry passes, or the file name changes.
Using CDN for dynamic content is not recommended, because it causes the user to wait for a double hop from storage to cdn and from cdn to user.
- How to Manage Expiration of Blob Content in the Azure Content Delivery Network (CDN)
- Put Blob - The Put Blob operation creates a new block blob or page blob, or updates the content of an existing block blob.
- Streaming MP4 video files in Azure Storage containers (Blob Storage)
You also pay twice the bandwidth on the initial load.
You can check the TTL using wget.exe of Fiddler:
wget.exe --server-response --spider [URL]
If the response says:
HTTP request sent, awaiting response... HTTP/1.1 200 OK ... Cache-Control: 3600 ...
the item will be cashed for 36000 seconds = 1 hour.
x-ms-blob-cache-control: public, max-age=36000
<google>ENGELSK</google>