> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# cache.invalidate

> Entfernt den zwischengespeicherten Instance cache-Registry-Eintrag fuer die angegebene Instance.

<div className="real-function-page">
  ```lua theme={null}
  cache.invalidate(instance: Instance)
  ```

  ## Argumente

  <ParamField path={"instance"} type={"Instance"} required>
    Instance, deren zwischengespeicherter Registry-Eintrag entfernt werden soll.
  </ParamField>

  ## Beispiel

  Entferne eine Instance aus dem Real-Cache und pruefe, ob der Cache-Eintrag noch vorhanden ist.

  ```lua theme={null}
  local Players = game:GetService("Players")

  cache.invalidate(Players)

  print(cache.iscached(Players))
  ```
</div>
