How to Remove Content from the CDN
Updated: March 2, 2011
If you no longer wish to cache an object in the Windows Azure Content Delivery Network (CDN), you can:
-
For a Windows Azure blob you can delete the blob from the public container.
-
Make the container private instead of public using the Set Container ACL operation.
-
Remove the CDN endpoint from your storage account in the Management Portal.
-
Modify your hosted service to no longer respond to requests for the object.
Object already cached in the CDN will remain cached until the time-to-live period for the object expires. When the time-to-live period expires, the CDN will check to see whether the CDN endpoint is still valid and the object still anonymously accessible. If it is not, then the object will no longer be cached.
No explicit “purge” tool is currently available for the Windows Azure CDN.