HTTP Caches
Method GET

Return status of a cache

Returns status of a particular cache.

get/http/caches/{httpCacheZoneName}

Query parameters

fieldsstring

Limits which fields of the cache zone will be output.

Response

Success

sizeinteger

The current size of the cache.

max_sizeinteger

The limit on the maximum size of the cache specified in the configuration.

coldboolean

A boolean value indicating whether the “cache loader” process is still loading data from disk into the cache.

Example response

{
  "size": 530915328,
  "max_size": 536870912,
  "cold": false,
  "hit": {
    "responses": 254032,
    "bytes": 6685627875
  },
  "stale": {
    "responses": 0,
    "bytes": 0
  },
  "updating": {
    "responses": 0,
    "bytes": 0
  },
  "revalidated": {
    "responses": 0,
    "bytes": 0
  },
  "miss": {
    "responses": 1619201,
    "bytes": 53841943822
  },
  "expired": {
    "responses": 45859,
    "bytes": 1656847080,
    "responses_written": 44992,
    "bytes_written": 1641825173
  },
  "bypass": {
    "responses": 200187,
    "bytes": 5510647548,
    "responses_written": 200173,
    "bytes_written": 44992
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.