Using FetchUrl to Delete a Cached Object

You can use the FetchUrl method to delete a cached HTTP object. Deleting objects by means of FetchUrl works for any cached object, whether or not it was cached by using FetchUrl.

To delete an HTTP object from the cache, call FetchUrl with the FetchUrl parameter set to an empty string, the CacheUrl parameter set to the URL that clients use to retrieve the object from the cache, and the TtlInMinutes and Flags parameters set to 0.


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.