[Catalyst] advent calendar memcached article misleading or incorrect?

Bill Moseley moseley at hank.org
Tue Dec 21 16:06:50 GMT 2010


On Tue, Dec 21, 2010 at 7:26 AM, Tommy Butler <ace at tommybutler.me> wrote:

> The article mentions the caching of session storage and arbitrary key-val=
ue
> pairs, and does so with a clear demonstration that these two features rely
> on the memcached backend.  But for what I'm most interested in (the cachi=
ng
> of DBIx objects) there's no evidence in the article at all that the
> mentioned "DBIx::Class::Cursor::Cached" uses memcached for its own
> backend.
>


http://search.cpan.org/~rkitover/Catalyst-Model-DBIC-Schema-0.48/lib/Cataly=
st/TraitFor/Model/DBIC/Schema/Caching.pm

The advent article shows the configuration at the end:

<Model::MyAppDB>

schema_class MyApp::Schema
<connect_info>

(your connect_info)

cursor_class DBIx::Class::Cursor::Cached

traits Caching

</connect_info>

</Model::MyAppDB>

And before that it shows the Catalyst cache setup with Memcached.


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101221/15932=
5df/attachment.htm


More information about the Catalyst mailing list