You are here

constant CACHE_PERMANENT in Drupal 6

Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \CACHE_PERMANENT
  2. 5 includes/bootstrap.inc \CACHE_PERMANENT
  3. 7 includes/bootstrap.inc \CACHE_PERMANENT

Indicates that the item should never be removed unless explicitly told to using cache_clear_all() with a cache ID.

2 uses of CACHE_PERMANENT
cache_clear_all in includes/cache.inc
Expire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page and cache_block tables.
cache_get in includes/cache.inc
Return data from the persistent cache. Data may be stored as either plain text or as serialized data. cache_get will automatically return unserialized objects and arrays.

File

includes/bootstrap.inc, line 12
Functions that need to be loaded on every Drupal request.

Code

define('CACHE_PERMANENT', 0);