User cache UserManager.FindByIdAsync (User.Identity.GetUserId ())?

When I call UserManager.FindByIdAsync(User.Identity.GetUserId()) , does it cache or make a call to the database every time it is called?

+6
source share
1 answer

It does not cache, the base store / dbcontext file can be cached, but the manager itself does not cache, it always accesses the UserStore.

+3
source

All Articles