Category

Cache

Reference caching and instance comparison.

Category guide

Overview

Use this overview to understand the category before opening a specific function.
  • See what this group of functions is meant to solve.
  • Compare function names and descriptions in one table.
  • Open a function for syntax, arguments, returns, and examples.

Cache

Available functions

5 functions
FunctionDescription
cache.invalidateRemoves the cached Instance entry for the given Instance.
cache.iscachedReturns whether the given Instance has a non-nil entry in the Instance cache.
cache.replaceSets the cached Instance entry for one Instance to another Instance.
clonerefPushes a new Instance reference for the same same underlying Instance and returns it.
compareinstancesCompares the Instance references stored in two Instance object values.