Suppose I have many objects with attributes that rarely change. I don't want the DB being hit all the time to fetch the data for those objects. What can I do?
Doctrine2 offers query and result caching.
The caching relies on third party caching solutions like APC, Memcache and Xcache. Doctrine offers drivers to integrate those into your application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With