[Dbix-class] DBIx::Class and memcached

Oleg Pronin syber.rus at gmail.com
Mon May 21 09:00:16 GMT 2007


I forgot something:

You must set My::ResultSet->memd ( $cache_memcached_object ) or caching
won't work.

Keys for memcached are generated from all query's data: where, attrs,
fields, tables, etc.
And if you source is changed (for example, just new column has been added) -
new key will differ and old memcached cache (without new column) will not be
used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070521/3c3=
bf28a/attachment.htm


More information about the Dbix-class mailing list