How to Delete the Web Cache on Internet Security and Acceleration Server (301471)



The information in this article applies to:

  • Microsoft Internet Security and Acceleration Server 2000

This article was previously published under Q301471

SUMMARY

This article describes how to delete the Web cache from Internet Security and Acceleration (ISA) Server.

MORE INFORMATION

To modify caching behavior for selective sites, use Routing rules. See ISA help for more information.

You can use one of the following three methods to delete the Web cache:
  • Run the Deleteall.vbs file that is located on the ISA Server CD-ROM.
  • Manually delete the entire contents of the ISA Server cache.
  • Run the ISA Server Cache Directory Tool. This tool can enable you to delete individual items from the cache.

Deleting the Cache by Using the Visual Basic Script File

  1. On the ISA Server CD-ROM, locate the X:\Support\Tools\Admin_Tools\Deleteall.vbs folder (where "X" is the drive letter of your CD-ROM drive).
  2. Double-click the Deleteall.vbs file to delete all of the contents of the ISA Server cache.

Manually Deleting the Cache

  1. Stop the Web Proxy service.
  2. Locate the Urlcache folder.
  3. From the multiple files in this folder, locate the *.cdat file in this folder.
  4. Delete the *.cdat file.
  5. Start the Web Proxy service.

Deleting the Cache by Using the ISA Server Cache Directory Tool

  1. On the ISA Server CD-ROM, locate the X:\Support\Tools\Troubleshooting\Cachedir.exe folder.
  2. Copy the Cachedir.exe file to the Program Files\Microsoft ISA Server folder or to the location that you installed ISA Server. (The file has to be located in the same folder as the Msfpc.dll file or the location of the .dll needs to be part of the default path of ISA Server.)
  3. Run the CacheDir.exe program to view the real-time cache contents.
To save the current cache contents to a file, at a command prompt, type: cachedir.exe -dump file, where file is the name of a file to which the cache contents are to be saved.

NOTE: When you use the dump switch, the Cache Directory Tool works as a background process. Your command prompt is displayed immediately after you use the tool.

You can mark the cache content as obsolete. If a client computer requests an obsolete object, ISA Server does not process the object from its cache. To mark the content in the cache as obsolete:
  1. Run the CacheDir.exe program to view the real-time cache contents.
  2. In the details pane, right-click the applicable Uniform Resource Locator (URL).
  3. Click Mark as Obsolete.
When you mark a path as obsolete, all of its contents are also marked as obsolete.

Modification Type:MinorLast Reviewed:1/15/2006
Keywords:kbenv kbhowto KB301471