> ## 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

> يزيل إدخال سجل Instance cache المخزن مؤقتا للـ Instance المحددة.

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

  ## الوسائط

  <ParamField path={"instance"} type={"Instance"} required>
    Instance التي يجب إزالة إدخال السجل المخزن مؤقتا لها.
  </ParamField>

  ## مثال

  أزل Instance من ذاكرة Real المؤقتة وتحقق مما إذا كان إدخال cache لا يزال موجودا.

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

  cache.invalidate(Players)

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