The default for Doctrine ORM is the "array" cache, which is pretty much a non-persistent cache.
Laravel can do the decision of caching by default as it is a framework, built around a particular directory structure and opinionated about its structure. ZF1 is also a framework, opinionated about directory structure. ZF2 defines no caching by default - caching has to be set up by the consumer. Doctrine provides libraries, it is NOT a framework. Therefore, doctrine can't give you a "default" there, as it doesn't know anything about the directory structure or project structure in general. As for the documentation, please feel free to send a pull request to fix any missing bit you may have spotted and you think requires fixing: it will be merged ASAP. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 16 June 2014 13:10, <[email protected]> wrote: > Hello, > > The documentation lists APC, memcache, Memcached, Xcache, Redis as caching > systems. > I am surprised that a simple Filesystem cache is not even included (even > though I know there's one provided) > > > http://doctrine-orm.readthedocs.org/en/latest/reference/caching.html?highlight=cache#cache-drivers > > Although many frameworks use the filesystem as a default cache, e.g. : > > *** Laravel's default cache: http://laravel.com/docs/cache > "By default, Laravel is configured to use the file cache driver" > > > *** Zend Framework's default cache also used to be the filesystem (ZF1, don't > know about ZF2) > > > Why is Doctrine different in that way? Storing data to file and read it seems > a very cheap operation (just like including a file/class). > > > Thank you for any clarifiications. > > -- > 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/d/optout. > -- 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/d/optout.
