Performance question server api

Hi!

With every single server api call, I include the same library action to get the user’s company ID, role & permissions. So when a page loads all server api’s, it does that same include for every single call.

It all works very fast, but I was wondering if this is fine for the long run? Is there a better way to handle it? I assume that storing the permissions in a session storage is not a good idea for security

Community Page
Last updated: