Global variables cache issues

I am developing Micro Application, I want to permanently cache some Global variables in memory without everytime access, what solution I need to use?
As every user will always share these Global variables!