# DBI::Util::CacheMemory - perldoc - [phpMan]

## NAME
    [DBI::Util::CacheMemory](https://www.chedong.com/phpMan.php/perldoc/DBI%3A%3AUtil%3A%3ACacheMemory/markdown) - a very fast but very minimal subset of [Cache::Memory](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3AMemory/markdown)

## DESCRIPTION
    Like [Cache::Memory](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3AMemory/markdown) (part of the Cache distribution) but doesn't support any fancy features.

    This module aims to be a very fast compatible strict sub-set for simple cases, such as basic
    client-side caching for [DBD::Gofer](https://www.chedong.com/phpMan.php/perldoc/DBD%3A%3AGofer/markdown).

    Like [Cache::Memory](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3AMemory/markdown), and other caches in the Cache and [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) distributions, the data will
    remain in the cache until cleared, it expires, or the process dies. The cache object simply
    going out of scope will *not* destroy the data.

## METHODS WITH CHANGES
  new
    All options except "namespace" are ignored.

  set
    Doesn't support expiry.

  purge
    Same as clear() - deletes everything in the namespace.

## METHODS WITHOUT CHANGES
    clear
    count
    exists
    remove

## UNSUPPORTED METHODS
    If it's not listed above, it's not supported.

