I am working on a project and I need to use memcached features to cache the queries and results.
I have followed the tutorial from this.
Do I need to use below code for each query?
->useQueryCache(true)
->useResultCache(true, 3600)
Is there any alternative like to setup somewhere in services
file or config
file?