Bill Moseley wrote:
> What's the status of the Cache plugin(s) wrt. backends?
>
> I want to be able to swap between FastMmap and Memcached via a config
> option
As per the docs:
# configure a backend or use a store plugin
__PACKAGE__->config->{cache}{backend} = {
class => "Cache::FastMmap",
# ... params ...
};
or
# configure a backend or use a store plugin
__PACKAGE__->config->{cache}{backend} = {
class => "Cache::Memcached::Managed",
# ... params ...
};
Feel free to refactor that however you like. But the idea is that
C::P::Cache doesn't care what backend you use.
Regards,
Jonathan Rockway
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/