Support the ongoing development of Laravel.io →
Configuration Cache Architecture

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..

Last updated 3 years ago.
0

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.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shez1983 shez1983 Joined 31 Dec 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.