[Catalyst] DBIC v Cache: What are catalyst best practices for caching DBIC results (with relationships included)

Matt S Trout dbix-class at trout.me.uk
Thu Nov 15 00:43:09 GMT 2007


On Wed, Nov 14, 2007 at 12:08:29PM -0800, Ashley Pond V wrote:
> I'm having trouble getting Plugin::Cache to handle DBIC objects  
> correctly. Past instruction, and recent refresher, from MST shows  
> that you have to reset/revive the result source and this works for a  
> single object but blows up for prefetch.

Why not just use DBIx::Class::Cursor::Cached ?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list