I am encountering performance slowdowns in my Symfony application, particularly when performing an action after a certain period of inactivity. Surprisingly, once the application becomes active again, the navigation becomes remarkably fast.
Considering that the slowdowns only occur after a period of inactivity, I suspect there might be an initialization or warm-up process that needs to occur. Are there any common factors or known solutions related to intermittent performance issues in Symfony applications that manifest specifically after a certain duration of inactivity, even on pages without complex queries?
The profiler displays the following statistics :
In my php.ini I have : realpath_cache_size = 128M
Enabling OPcache improves performance a little, but I shouldn't be experiencing these kinds of issues normally.
Any insights, suggestions, or guidance would be greatly appreciated.
Thank you in advance for your help !!