You are here

Non-volatile cache storage in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/cache.inc \views_object_cache

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

includes/cache.inc, line 204
cache.inc

Functions

Namesort descending Location Description
views_object_cache_clean includes/cache.inc Remove all objects in the object cache that are older than the specified age.
views_object_cache_clear includes/cache.inc Remove an object from the non-volatile Views cache
views_object_cache_get includes/cache.inc Get an object from the non-volatile Views cache.
views_object_cache_set includes/cache.inc Store an object in the non-volatile Views cache.