cache-type

This command specifies how to cache documents.

Syntax

cache-type Protocol

cache-type NoCache

cache-type TimeToLive

Parameters

Protocol
Uses the cache behavior that is defined by the Cache-Control headers on the request and response. This setting is the default value.
NoCache
Does not cache any documents.
TimeToLive
Keeps documents in the cache for a specified time.

Guidelines

The cache-type command specifies how to cache documents. This command takes effect only when a response is received from the target. Otherwise, the invoke action always returns the nonexpired response that is previously saved in cache.

When the value is set to TimeToLive, use the ttl command to set the validity period for documents in the cache.