Variables

$DISP

our $DISP

$CACHE

our $CACHE

$FILECACHE

our $FILECACHE

$IPC

our $IPC

FILESIZE

our $FILESIZE

Same as fastmax.  This variable stores the max. size of data that can be stored in memory.

Functions

init

sub init

set ($key, $value [\%ctrl])

sub set

ctrl keys

  • tofile : always cache to file, regardless of size
  • tomem : always cache to memory, regardless of size
  • expire : override expiration time by this amount (N, Ns, Nm, Nh)

get

sub get

remove

sub remove
Abstract cache class.
our $DISP
our $CACHE
our $FILECACHE
our $IPC
our $FILESIZE
Same as fastmax.
sub init
sub set
sub get
sub remove
Close