CHI::Driver::CacheCache

- NAME
- SYNOPSIS
- DESCRIPTION
- CONSTRUCTOR OPTIONS

# NAME

CHI::Driver::CacheCache - CHI wrapper for Cache::Cache

# SYNOPSIS

        use CHI;

        my $cache = CHI->new(
            driver     => 'CacheCache',
            cc_class   => 'Cache::FileCache',
            cc_options => { cache_root => '/path/to/cache/root' },
        );

# DESCRIPTION

This driver wraps any Cache::Cache cache.

# CONSTRUCTOR OPTIONS

When using this driver, the following options can be passed to CHI->new() in addition to the CHI.

cc_class

  Name of Cache::Cache class to create, e.g. Cache::FileCache. Required.

cc_options

  Hashref of options to pass to Cache::Cache constructor. Required.