Clients and Web servers use special tags in objects to instruct Web caches on what to cache and what not to cache. By default, the NetCache appliance does not cache an object if any of the conditions in the following table are met.
Highly dynamic and user-specific content are not good candidates for caching because the information is unlikely to be requested by another user. One type of request you might want to define as noncacheable, for example, is a cgi-bin request. Because cgi-bin requests are highly dynamic, they are inherently noncacheable.
Another type of content you might want to define as noncacheable is any content on a Web server that is in the same domain as the NetCache appliance. If a Web server is local, the NetCache appliance can simply proxy requests for the Web server without having local objects use cache disk space.
Using the HTTP - Header and Caching Behavior page in the Appliance Manager, you can define explicit caching rules that specify objects as cacheable or noncacheable by date or time requested, Web server IP address, host name or port, client IP address or port, URL, URL prefix, or content type.
Some Web servers use cookies to prevent Web caches from caching their Web pages. When a Set-Cookie header is included in the Web server response, the header is stored on the client. All subsequent requests for URLs that match the domain and path specified by the Set-Cookie header cause the client to issue a Cookie request header. Including this header makes these Web servers' pages noncacheable, even for static content.
However, even when some of the content of a Web page is user-specific, the content might contain objects that are static, such as graphics. The NetCache appliance enables you to define these objects as cacheable, even when the surrounding content is user-specific and, therefore, noncacheable.
You can instruct the NetCache appliance to cache specific objects, even when these objects have cookies associated with them, by using the Cookie Cheat File Name Extensions option on the HTTP - Header and Caching Behavior page under the Setup tab in the Appliance Manager. The Cookie Cheat File Name Extensions list causes NetCache to strip out the Cookie request headers so that they are not passed on to the origin server, thereby making these objects subject to normal caching rules.
You can configure what the NetCache appliance does and does not cache by creating and editing explicit caching rules through the Explicit Caching Rules tab on the HTTP - Header and Caching Behavior page, and by configuring additional options also on that page.
You can configure NetCache explicit caching rules to determine which objects NetCache will or will not cache. You can specify by date and time requested, Web server host name, server IP address, server port, client IP address, client port, URL, URL-prefix, or content type which objects fetched through HTTP requests will be cached on the appliance.
To view existing explicit caching rules in the Appliance Manager, select Setup tab > HTTP > Header and Caching Behavior. Click the Explicit Caching Rules tab to display the Current Explicit Rules table. This table lists the current explicit caching rules.
In addition to using explicit caching rules, you can configure other options on the Appliance Manager HTTP - Header and Caching Behavior page to specify the objects that the NetCache appliance does and does not cache.
The options in the following table are available.
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00369
File: webcach7.htm
Last updated: 11/12/02 12:13:42