Non-volatile cache storage
The non-volatile object cache is used to store an object while it is being edited, so that we don't have to save until we're completely done. The cache should be 'cleaned' on a regular basis, meaning to remove old objects from the cache, but otherwise the data in this cache must remain stable, as it includes unsaved changes.
File
Functions
Name | Location | Description |
---|---|---|
views_object_cache_clean |
includes/ |
Remove all objects in the object cache that are older than the specified age. |
views_object_cache_clear |
includes/ |
Remove an object from the non-volatile Views cache |
views_object_cache_get |
includes/ |
Get an object from the non-volatile Views cache. |
views_object_cache_set |
includes/ |
Store an object in the non-volatile Views cache. |