VERSION

version 0.58

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 \s-1CHI-\s0>new() in addition to the \s-1CHI\s0.

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.

RELATED TO CHI::Driver::CacheCache…

\s-1CHI\s0

AUTHOR

Jonathan Swartz <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.