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

samio's avatar
Level 1

Best Practice (Session/Cache) for important data

Hi guys,

I have a SaaS system , and I have a custom data for each user like ( currency , language , company name , company logo , .. etc) and another data I need to use it in each sql querey Like (choosen calendar ).

I store it in session , but I'm thinking it will be good if I store it in cache , for best performance.

So , I need to take your advice what is the best practice for that.

thanks

0 likes
0 replies

Please or to participate in this conversation.