Is the cache shared by all users?

Hello,

I’m wondering if the cache is shared by all users ?

If so, that means (in the case of the shopping cart) that it would be necessary to give as key “myCart”+user object id instead of simply “myCart”. Is that right ?

Thank you in advance.

Hello @Seb777,

I’m wondering if the cache is shared by all users ?

Yes, it’s shared

If so, that means (in the case of the shopping cart) that it would be necessary to give as key “myCart”+user object id instead of simply “myCart”. Is that right ?

Yes, you can do so in your case.

Regards,
Stanislaw

Thanks @stanislaw.grin !