Cache
The cache library provides methods for modifying the internal Instance cache.
cache.invalidate
function invalidate(object: Instance): ()Parameters
Example
local Lighting = game:GetService("Lighting")
cache.invalidate(game:GetService("Lighting"))
print(Lighting, Lighting == game:GetService("Lighting")) --> Lighting, falsecache.iscached
function iscached(object: Instance): booleanParameters
Example
cache.replace
Parameters
Example
cloneref
Parameters
Example
compareinstances
Parameters
Example
Last updated