Volt

Cache

The Cache library provides functions for manipulating the instance reference cache.

Overview

These functions allow you to:

  • Replace cached instance references
  • Invalidate cached references
  • Check if an instance is cached

Available Functions

FunctionDescription
cache.replaceReplace a cached instance reference
cache.invalidateRemove an instance from the cache
cache.iscachedCheck if an instance is cached
FunctionDescription
clonerefClone an instance reference
compareinstancesCompare two instance references

On this page