HttpCacheConfig

HttpCacheConfig
HttpCacheConfig
JSON Example
{
    "age_header": false,
    "aggressive": false,
    "date_header": false,
    "default_expire": 0,
    "enabled": false,
    "heuristic_expire": false,
    "ignore_request_cache_control": false,
    "max_cache_size": 0,
    "max_object_size": 0,
    "mime_types_block_group_refs": [
        "string"
    ],
    "mime_types_block_lists": [
        "string"
    ],
    "mime_types_group_refs": [
        "string"
    ],
    "mime_types_list": [
        "string"
    ],
    "min_object_size": 0,
    "query_cacheable": false,
    "uri_non_cacheable": {
        "match_case": "string",
        "match_criteria": "string",
        "match_decoded_string": false,
        "match_str": [
            "string"
        ],
        "string_group_refs": [
            "string"
        ]
    },
    "xcache_header": false
}
boolean
age_header
Optional

Add an Age header to content served from cache, which indicates to the client the number of seconds the object has been in the cache. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
aggressive
Optional

Enable/disable caching objects without Cache-Control headers. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
date_header
Optional

If a Date header was not added by the server, add a Date header to the object served from cache. This indicates to the client when the object was originally sent by the server to the cache. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
default_expire
Optional

Default expiration time of cache objects received from the server without a Cache-Control expiration header. This value may be overwritten by the Heuristic Expire setting. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
enabled
Optional

Enable/disable HTTP object caching.When enabling caching for the first time, SE Group app_cache_percent must be set to allocate shared memory required for caching (A service engine restart is needed after setting/resetting the SE group value). Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
heuristic_expire
Optional

If a response object from the server does not include the Cache-Control header, but does include a Last-Modified header, the system will use this time to calculate the Cache-Control expiration. If unable to solicit an Last-Modified header, then the system will fall back to the Cache Expire Time value. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
ignore_request_cache_control
Optional

Ignore client's cache control headers when fetching or storing from and to the cache. Field introduced in 18.1.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint64 As uint64
max_cache_size
Optional

Max size, in bytes, of the cache. The default, zero, indicates auto configuration. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
max_object_size
Optional

Maximum size of an object to store in the cache. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of string
mime_types_block_group_refs
Optional

Blocklist string group of non-cacheable mime types. It is a reference to an object of type StringGroup. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

array of string
mime_types_block_lists
Optional

Blocklist of non-cacheable mime types. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

array of string
mime_types_group_refs
Optional

Allowlist string group of cacheable mime types. If both Cacheable Mime Types string list and string group are empty, this defaults to /. It is a reference to an object of type StringGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of string
mime_types_list
Optional

Allowlist of cacheable mime types. If both Cacheable Mime Types string list and string group are empty, this defaults to /. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
min_object_size
Optional

Minimum size of an object to store in the cache. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
query_cacheable
Optional

Allow caching of objects whose URI included a query argument. When disabled, these objects are not cached. When enabled, the request must match the URI query to be considered a hit. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

uri_non_cacheable
Optional

uri_non_cacheable

boolean
xcache_header
Optional

Add an X-Cache header to content served from cache, which indicates to the client that the object was served from an intermediate cache. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.