On 18 March 2014 14:56, LEROUX Jean-Marie <[email protected]> wrote:

> 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.
>

This was actually tested/implemented in
https://github.com/doctrine/DoctrineModule/pull/345 - maybe a bug?

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

Reply via email to