Delete Cached Objects
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
This topic describes how to delete cached content by using IIS Manager. You must have Application Request Routing (ARR) and the disk-based caching feature configured before you can view and delete content that is cached on the ARR server. If you have not configured the disk-based cache feature, see Configure and Enable Disk Cache in ARR.
Delete Cached Objects
You can delete content that is cached on the ARR server by using IIS Manager in several ways:
Delete all cached objects — Deletes all cached content from all primary disk cache locations. This will not delete cached content from the secondary disk cache location. Because this action can take a long time if there are many cached objects, we recommend formatting the drive to remove cached objects when resetting a server or adding or removing drives.
Delete selected cached objects — Deletes a selected folder or file. If you select a folder to delete, all objects within the folder will be removed. If you select a file to delete, all associated files will be removed. This action deletes the selected cached content from both the primary disk cache locations and the secondary disk cache location.
Delete specific cached objects — Deletes a user-specified absolute URL or a partial URL and a wildcard character (*) to remove all content that matches the pattern. This action deletes the specified cached content from both the primary disk cache locations and the secondary disk cache location.
To delete all cached objects
Open IIS Manager.
In the Connections pane, select the server node.
In the Server pane, double-click Application Request Routing Cache.
In the Actions pane, click Delete All Cached Objects.
In the Confirm Delete dialog box, click Yes.
To delete selected cached objects
Open IIS Manager.
In the Connections pane, select the server node.
In the Server pane, double-click Application Request Routing Cache.
In the Actions pane, click Browse Cache Content.
Select a cached object (file or folder) that you want to remove, and in the Actions pane, click Delete Selected Cached Object.
In the Confirm Delete dialog box, click Yes.
To delete specific cached objects
Open IIS Manager.
In the Connections pane, select the server node.
In the Server pane, double-click Application Request Routing Cache.
In the Actions pane, click Delete Specific Cached Objects….
In the Delete Cached Objects dialog box, do one of the following:
Enter an absolute URL to the cached content that you want to delete. For example, https://www.contoso.com/pictures/image.jpg.
Enter a URL with a wildcard character (*) to delete all content that matches the URL pattern. For example, https://www.contoso.com/pictures/\*.jpg.
Click OK to close the confirmation dialog box.
See Also
Concepts
Browse Cached Contents on Disk on ARR
Disk Caching Tasks
ARR Common Tasks