Microsoft Internet Security and Acceleration Server 2004 SDK

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, set lpszFetchUrl = <empty string>, lpszCacheUrl = <cachedURL>, TtlInMinutes = 0 and Flags = 0.

Note  With flags = 0, the default flag setting, the operation is performed as a non-blocking operation. If flags = FETCH_SYNCHRONOUS, it is a blocking operation.