Hi,

Can a DBIC resultset be serialized in order to be stored in the cache?

With other words, is it possible to do:

my $cache = $c->cache;
my $feeds = $cache->get($pg);

unless (defined $feeds) {
$feeds = $c->model("DB::Feed")->get_feeds($pg);
$cache->set($pg, $feeds, 10);
}

Thank you.

--
Octavian


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

Reply via email to