I am working on a symfony2 project. My project uses a database to store data and Doctrine2 to retrieve this data.
As the data in the database grew, queries became very slow, and the entire web application took about 2 minutes to load or not load at all.
The only way I can make sure that I fix it myself is to cache some requests, but how can I do this. If there is no other way to solve this problem.
php symfony doctrine2
Tomazi
source share