Net.Data Books

Administration and Programming Guide for OS/390

Configuring Net.Data to Automatically Manage Cached Web Pages and Large Objects

You can configure Net.Data to automatically manage cached Web pages and LOBs based on expiration time values. Net.Data uses the lifetime values for dynamic Web pages specified on the DTW_CACHE_PAGE directives and the setting of the DTW_LOB_LIFETIME configuration variable to determine the expiration time values. The setting of DTW_CACHE_MANAGEMENT_INTERVAL specifies the frequency with which automatic cache management occurs. When Net.Data performs automatic cache management, it removes all objects from the cache having expiration times older than the current time.

To specify the caching interval:

Use the DTW_CACHE_MANAGEMENT_INTERVAL configuration variable to specify the minimum number of seconds between successive invocations of the Net.Data stored procedure that performs automatic cache management.

Syntax:

DTW_CACHE_MANAGEMENT_INTERVAL [=] seconds

To specify the LOB lifetime:

Use the DTW_LOB_LIFETIME configuration variable to specify the minimum number of seconds that LOB files are available in HFS. For more information on DB2 LOBs, see Using Large Objects.

Syntax:

DTW_LOB_LIFETIME [=] seconds

Where seconds is the minimum number of seconds that LOB files are available. The effective lifetime of a LOB file is the larger of the DTW_LOB_LIFETIME value and the lifetime of any Web page that references it.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]