FriendsOfSymfony/FOSUserBundle — Issue #499: Avoid doing the same query on each page
Author: Nanocom
Created: 2012-01-21 13:53:12+00:00
State: open

Hi,

Currently, using FOSUserBundle, a query is done on each page when the user is logged in, to retrieve its informations.
Wouldn't it be possible to get this information in the session? Or can we do that ourselves? Is there already discussions related to this?
Because I'd like to have my sessions stored in memory, would be great if this query could be avoided and request the session instead.

Thanks!