joystick
joystick copied to clipboard
Cache users for fast authentication
This is a no-brainer. With RC3, we introduced component and translation caching to speed up renders. I just realized we're hot hitting the database for each request to authenticate the user. Instead, we should do that once and then just reference memory (ensuring to keep memory up to date automatically when Joystick's auth functions are used on the server).