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

  1. Open IIS Manager.

  2. In the Connections pane, select the server node.

  3. In the Server pane, double-click Application Request Routing Cache.

  4. In the Actions pane, click Delete All Cached Objects.

  5. In the Confirm Delete dialog box, click Yes.

To delete selected cached objects

  1. Open IIS Manager.

  2. In the Connections pane, select the server node.

  3. In the Server pane, double-click Application Request Routing Cache.

  4. In the Actions pane, click Browse Cache Content.

  5. Select a cached object (file or folder) that you want to remove, and in the Actions pane, click Delete Selected Cached Object.

  6. In the Confirm Delete dialog box, click Yes.

To delete specific cached objects

  1. Open IIS Manager.

  2. In the Connections pane, select the server node.

  3. In the Server pane, double-click Application Request Routing Cache.

  4. In the Actions pane, click Delete Specific Cached Objects….

  5. In the Delete Cached Objects dialog box, do one of the following:

  6. Click OK to close the confirmation dialog box.

See Also

Concepts

Browse Cached Contents on Disk on ARR
Disk Caching Tasks
ARR Common Tasks