I’m trying to improve the project’s performance, and discover all request takes 567ms. Why do those two sections take too long time ??!!
I use symfony2.5 and php5.6
Any ideas, please?
Advertisement
Answer
I’ve solved
- First of all i installed APC (PHP caching) on my webserver and restart it.
- Modify my doctrine configuration to use APC.
orm: metadata_cache_driver: apc result_cache_driver: apc query_cache_driver: apc
- Modify the service configuration as well.
services: cache: class: DoctrineCommonCacheApcCache
The response time was less than I expected.