---
title: "cache.invalidate"
description: "Removes the instance's cached wrapper entry."
---

```lua
cache.invalidate(instance: Instance): ()
```

---

## Aliases

None.

---

## Arguments

<ParamField body="instance" type="Instance" required>
  The Roblox Instance to operate on.
</ParamField>

---

## Returns

This function returns no values.

Does not destroy the underlying instance.

---

## Example

```lua
local part = Instance.new("Part")
cache.invalidate(part)
print(cache.iscached(part))
cache.validate(part)
part:Destroy()
```
