I'm working on a project with Web API 2 and I'm trying to find the best way to save the user configuration in memory.
Each user has a particular configuration (timezone, location, language, its company information, and many more information), so I'm trying to implement a way to query this information at first login and save it to memory or something. So this information is frequently used by many operations and I don't want to slow down the application performance by querying all that info each time I need it.
So, the first plan was to implement a Static clas with this information, but I don't know if it's the best approach.
Can someone suggest the best way to implement this on a Web API 2?