Add a cache to don't load 100 times the user on each request ...

Why not defining this function outside of get_user_from_request()?