> ## 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의 캐시된 Instance cache 항목을 제거합니다.

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

  ## 인수

  <ParamField path={"instance"} type={"Instance"} required>
    캐시된 registry 항목을 제거할 Instance입니다.
  </ParamField>

  ## 예제

  Real cache에서 Instance를 제거하고 cache 항목이 아직 있는지 확인합니다.

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

  cache.invalidate(Players)

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