Home
Timeout
A timeout rule specifies an absolute time-to-live (TTL) value for the cache entry. When a timeout element is used, the cache entry will be removed from the cache after the specified amount of time has elapsed, regardless of any other invalidation rules.
Example 3-4 Using timeouts to invalidate
<cache-id><component id="storeId" type="parameter"><required>true</required></component><component id="DC_userId" type="attribute"><required>true</required></component><timeout>3600</timeout></cache-id>
The timeout value is specified in seconds, with a default value of zero. Zero means that the entry will never expire. In Example | -4, there is a a timeout of 3600 seconds or 60 minutes, so the cache entry is invalidated after 1 hour.