Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tgif's avatar
Level 4

How are Laravel Redis cache and Redis session different?

Having trouble understanding the diff. If bot are saved to the data store wouldn't that make a session also cache?

0 likes
1 reply
ohffs's avatar

'Session' is just a name for storing data related to the session - so if it happens to be in redis, or disk, or db - it still gets called the 'session'. That you also use the same storage for something else doesn't really matter. If you want to think of 'Session Cache' and 'Data Cache' maybe that makes it easier?

1 like

Please or to participate in this conversation.