Hi
So i have been looking at the caching solutions and there are so many, redis, opcache, memcache apcache etc etc..
I am not sure which one to use?
can i possibly use two together? ie redis and memcache?
Which one is generally considered to be most faster?
I'll of course be updating my application to php 7.. but still, caching solution would make it more faster without having to worry too much about optimising the code..
memcache has an ugly way of dropping keys when it runs out of memory. redis is really good. opcache caches your php code. apcache caches your pages. You can also consider using varnish cache, if your site has a lot of static pages.
Which solution is the best depends on what you're caching. i would go with Redis, its good for almost everything.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community