I’ve built this simple plugin where you can set Global Variables on the user’s browser so you can access them without making a (slow) request to the database.
It uses the cookies to store those values, each time the user’s browser is closed they will be erased so don’t forget to add some logic to check if the Variable is there.
For now you can only store text values but tell me if that’s a problem, I’ll add other options.
The plugin is similar to another one but with a more reasonable price point.
Keep on bubbling !