« Previous | Next » 

Revision 060ab576

ID060ab576b4bc496db496745204d4206fe7bd869e

Added by Karsten Dambekalns almost 8 years ago

[FEATURE] Allow to cache Doctrine ORM query results

This change allows to cache query results in the persistence layer.

The caching can be switched on by setting the new $cacheResult flag
on Repository->findBy(), Repository->findOneBy() and Query->execute().

In addition the caching can be switched on globally by setting::

TYPO3.Flow.persistence.cacheAllQueryResults

to TRUE. Keep in mind this might have unexpected side effects.

Note: The caching is only implemented for the Doctrine persistence.
When using generic persistence it has no effect.

Change-Id: I15ec60786f6c7e92489a7cbf4b16625842d476fd
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted