Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Viewing the URL Database

You can view the names and attributes of all recorded cached URLs. The URL information displayed is a list of cached documents grouped by access protocol and site name. You can limit the URLs you view in the list by typing a domain name into the Search field. By accessing this information, you can perform various cache management functions such as expiring and removing documents from the cache.

ProcedureTo view the URLs in the database

Steps
  1. Access the Server Manager, and click the Caching tab.

  2. Click the View URL Database link.

    The View URL Database page displays.

  3. Click the Regenerate button to generate a current list of cached URLs.

    If you would like to view the information for a specific URL, enter a URL or regular expression in the Search field and click the Search button.

  4. If you would like to view cache database information grouped by domain name and host, select a domain name from the list.

    A list of hosts in that domain appears. Click the name of a host and a list of URLs appears.

  5. Click on the name of a URL.

    Detailed information about that URL appears.

Expiring and Removing Files from the Cache

From the View URL Database page you can expire and remove documents from the cache.

ProcedureTo expire or remove cached URLs

Steps
  1. Access the Server Manager, and click the Caching tab.

  2. Click the View URL Database link.

    The View URL Database page displays.

  3. Click the Regenerate button.

    It generates a snapshot of the cache database. This snapshot forms the basis for the remaining steps.

  4. If you know of a specific URL that you would like to expire or remove, enter that URL or a regular expression that matches that URL in the Search field and click the Search button.

    If you would like to work with URLs grouped by domain name and host, select a domain name from the list. A list of hosts in that domain appears. Click on the name of a host and a list of URLs appears.

  5. To expire individual files, select the Ex option next to the URLs for those files and click the Exp/Rem Marked button.

    To expire all of the files in the list, click the Exp All button on the bottom of the form. To remove individual files from the cache, select the Rm option next to the URLs for those files and click the Exp/Rem Marked button. To remove all of the files in the list, click the Rem All button.

  6. Click the Regenerate button to regenerate the snapshot.


    Note –

    When you use the Ex or Rm option, the associated file is processed but the changes are not reflected in the snapshot. The snapshot needs to be regenerated for the changes to be visible.