NAME
MooseX::WithCache::Backend::Cache::FileCache - Cache::FileCache Backend
SYNOPSIS
package MyObject;
use MooseX::WithCache;
with_cache(
backend => 'Cache::FileCache'
);
package main;
my $obj = MyObject->new(
cache => Cache::FileCache->new({ ... });
);
$obj->cache_get($key);
$obj->cache_set($key);
$obj->cache_del($key);
# {
# results => {
# key1 => $cache_hit_value1,
# key2 => $cache_hit_value2,
# ...
# },
# missing => [ 'key3', 'key4', 'key5' .... ]
# }