How could caching Doctrine MongoDB results be done? Looking at the configuration code, it does not have a built-in result cache, such as the standard Doctrine, only the query cache.
I was thinking of creating my own cache level in the application, but the returned objects are pretty heavy because they contain a lot of Doctrine logic that are not needed for presentation. How can I pair objects so that they are only efficient data containers?
Doctrine MongoDB ODM does not support query caching, so this is definitely what you will need to process in your application at the moment.
, Proxy ( ), Doctrine (, UnitOfWork). , , . , , , , .
, , , . , ( Symfony2, , , , ESI).