On 15 February 2014 23:46, Nima Sadjadi <[email protected]> wrote: > zend-cache has an adapter to use 50% of memory_limit of php.ini for > caching, there is no such ability in doctrine cache beside Apc etc? > >
No, doctrine's cache is quite simple. Just look at the class' source code, it's maybe 100 LOC. I also am unaware of any feature like that in the the Zend\Cache implementation, since that's only a feature of the "Memory" adapter ( http://framework.zend.com/manual/2.2/en/modules/zend.cache.storage.adapter.html#the-memory-adapter), which is not persistent across requests, therefore being relatively useless for most use cases. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/groups/opt_out.
