[cache.clear]

cache.clear is a slot in the cache namespace, in Hyperlambda, the language of Magic Cloud. Clears cached items matching the optional filter.

  • Value (cache-key), optional: Optional filter for cache keys

Guide: How to use [cache.clear]

JSON declaration

This is the complete declaration of cache.clear, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "cache.clear",
  "description": "Clears cached items matching the optional filter",
  "signature": {
    "input": {
      "kind": "cache-key",
      "description": "Optional filter for cache keys",
      "required": false,
      "mode": "ValueOrExpression"
    }
  }
}

all cache.* slots cache.count →