Delete Cached Objects

Updated: November 5, 2009

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.

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.

  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.

  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.

  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:

    • Enter an absolute URL to the cached content that you want to delete. For example, http://www.contoso.com/pictures/image.jpg.

    • Enter a URL with a wildcard character (*) to delete all content that matches the URL pattern. For example, http://www.contoso.com/pictures/*.jpg.

  6. Click OK to close the confirmation dialog box.

See Also

Community Additions

ADD
Show: