Golang。 在全局变量/上下文中缓存活动用户。 是个好主意?

We have a web app in which data is loaded from mysql database.
Active users make a request every second.
http.Handler on each request retrieves same data from db. I want to save last 100(or 200) in global app memory and first will try to check this by key in cookies. If user not in cache then make request to db and add data to cache.
The same approach can be used with other frequently requested data.

I want to know what gophers think about this approach.
I would be grateful for your advice and useful links.