<br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 7:26 AM, Tommy Butler <span dir="ltr">&lt;<a href="mailto:ace@tommybutler.me">ace@tommybutler.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  

    
  
  <div bgcolor="#ffffff" text="#000000"><font face="Helvetica, Arial, sans-serif">The article mentions the caching of session storage and arbitrary
      key-value pairs, and does so with a clear demonstration that these
      two features rely on the memcached backend.  But for what I&#39;m most
      interested in (the caching of DBIx objects) there&#39;s no evidence in
      the article at all that the mentioned</font><font face="Helvetica,
      Arial, sans-serif"> &quot;DBIx::Class::Cursor::Cached&quot;</font><font face="Helvetica, Arial, sans-serif"> uses memcached for its own
      backend.</font></div></blockquote><div><br></div><div><br></div><div><a href="http://search.cpan.org/~rkitover/Catalyst-Model-DBIC-Schema-0.48/lib/Catalyst/TraitFor/Model/DBIC/Schema/Caching.pm">http://search.cpan.org/~rkitover/Catalyst-Model-DBIC-Schema-0.48/lib/Catalyst/TraitFor/Model/DBIC/Schema/Caching.pm</a></div>

<div><br></div><div>The advent article shows the configuration at the end:</div><br>&lt;Model::MyAppDB&gt;<br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote">

schema_class MyApp::Schema</div><div class="gmail_quote">&lt;connect_info&gt;</div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">

<div class="gmail_quote">(your connect_info)</div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote">cursor_class DBIx::Class::Cursor::Cached</div>

</blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote">traits Caching</div></blockquote></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">

<div class="gmail_quote">&lt;/connect_info&gt;</div></blockquote><div class="gmail_quote">&lt;/Model::MyAppDB&gt;</div><div class="gmail_quote"><br></div><div class="gmail_quote">And before that it shows the Catalyst cache setup with Memcached.<br>

<div><br></div><div> </div></div>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>