Go to the table of contents Go to the previous page Go to the next page View or print as PDF
HTTP object freshness
Help | Content Gateway | Version 8.1.x
Content Gateway determines whether an HTTP object in the cache is fresh by:
*
Checking the Expires or max-age header
Some HTTP objects contain Expires headers or max-age headers that define how long the object can be cached. Comparing the current time with the expiration time tells the proxy whether or not the object is fresh.
*
Checking the Last-Modified / Date headers
If an HTTP object has no Expires header or max-age header, the proxy can calculate a freshness limit using the following formula:
freshness_limit =(date - last_modified) * 0.10
where date is the date in the object's server response header, and last_modified is the date in the Last-Modified header. If there is no Last-Modified header, the proxy uses the date that the object was written to cache. You can increase or reduce the value 0.10 (10 percent). See Modifying the aging factor for freshness computations.
The computed freshness limit is bound by minimum and maximum boundaries. See Setting an absolute freshness limit.
*
For HTTP objects that do not have Expires headers or do not have both Last-Modified and Date headers, the proxy uses a maximum and minimum freshness limit. See Setting an absolute freshness limit.
*
Revalidate rules apply freshness limits to specific HTTP objects. You can set freshness limits for objects originating from particular domains or IP addresses, objects with URLs that contain specified regular expressions, and objects requested by particular clients, for example. See cache.config.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2016 Forcepoint LLC. All rights reserved.