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

> Reference caching and instance comparison.

Reference caching and instance comparison.

| Function navigation                      | Description                                                                           |
| ---------------------------------------- | ------------------------------------------------------------------------------------- |
| [`cache.invalidate`](./cache-invalidate) | Removes the cached Instance entry for the given Instance.                             |
| [`cache.iscached`](./cache-iscached)     | Returns whether the given Instance has a non-nil entry in the Instance cache.         |
| [`cache.replace`](./cache-replace)       | Sets the cached Instance entry for one Instance to another Instance.                  |
| [`cloneref`](./cloneref)                 | Pushes a new Instance reference for the same same underlying Instance and returns it. |
| [`compareinstances`](./compareinstances) | Compares the Instance references stored in two Instance object values.                |
