Alexander Tamm wrote on 04/16/2009 01:32 AM:
> Tomas Doran wrote:
> 
>> Take a look at Catalyst::Plugin::Cache. The docs are a bit crap
>> (patches welcome!), but it'll do what you want, and has nice features
>> to give you curried accessors for things etc..
> 
> Well, that's just it... I've read the docs and tried to configure it,
> but I never get a cache hit.
> 
> I've tried this:
> 
> in MyApp.pm:
> __PACKAGE__->config(
>                     # other stuff.
>                     'Plugin::Cache' => {
>                               'backend' => {
>                                        store => 'FastMmap',
>                               },
>                      },
>                 );
> ...but the return value of $c->cache->get->($key) is always undef,
> although I make sure to always $c->cache->set( $key, $value)
> 
>

I had the same experience and just switched to the File cache plugin
instead.

-- 
Peter Karman  .  pe...@peknet.com  .  http://peknet.com/


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to