Cache
Inspect, replace, and invalidate cached instance references.
4 functions
What the icons meancache.invalidateSynchronousRemove an Instance’s canonical wrapper from the ObjectBridge cache. The Instance itself remains alive; a later lookup may create a different wrapper for that same engine object.
cache.iscachedSynchronousCheck whether this exact Instance wrapper is the one stored as canonical in the cache. It is useful after cloneref, which deliberately creates another wrapper for the same engine object.
cache.replaceSynchronousChoose which Instance wrapper becomes canonical for an engine object. Use it when code must make a cloned wrapper the one returned by later ObjectBridge lookups.
getinstancecacheSynchronousRead the ObjectBridge cache table that maps native Instance identities to their canonical Luau wrappers. This is mainly useful for diagnosing wrapper caching.