My mistake : i did not see my queries cached in ZDT toolbar, because i did not use a '$query->useResultCache(true)'.
Now i can see they are cached. I'm testing the use of '$query->setHydrationCacheProfile(new QueryCacheProfile(10));' which cache my results, but it seems the lifetime is not taken into account by my Zend\Storage\Memcached. More on this later. Thanks for the help. :) 2014-03-18 13:52 GMT+01:00 Marco Pivetta <ocram...@gmail.com>: > The fastest way to see if your cache is set, is checking your ORM > configuration: > > $entityManager->getConfiguration() contains all the details that you want > to check. > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > > On 18 March 2014 12:09, LEROUX Jean-Marie <jmleroux....@gmail.com> wrote: > >> Hello, >> >> I configured Doctrine ORM module to use Memcached. >> >> Is there an easy way to verify that the cache is correctly used ? >> >> With ZF dev tools for example ? >> >> Thanks, >> >> JM Leroux >> > >