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
- 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).
- Double-click the Deleteall.vbs file to delete all of the contents of the ISA Server cache.
Manually Deleting the Cache
- Stop the Web Proxy service.
- Locate the Urlcache folder.
- From the multiple files in this folder, locate the *.cdat file in this folder.
- Delete the *.cdat file.
- Start the Web Proxy service.
Deleting the Cache by Using the ISA Server Cache Directory Tool
- On the ISA Server CD-ROM, locate the X:\Support\Tools\Troubleshooting\Cachedir.exe folder.
- 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.)
- 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:
- Run the CacheDir.exe program to view the real-time cache contents.
- In the details pane, right-click the applicable Uniform Resource Locator (URL).
- Click Mark as Obsolete.
When you mark a path as obsolete, all of its contents are also marked as obsolete.