Open lsmith77 opened 13 years ago
Is this enhancement planned yet? What are the options: Doctrine cache, session, other?
Nothing is planned yet. Doctrine cache config should probably cover the "issue" outside of the Bundle. What I was more thinking about was a way to configure a time interval (including disabling entirely) of how often the data should be re-read.
The point also is that reading the user from the token without reloading it means that the user instance is not managed by the Doctrine entity manager and that it needs to be merged in the UnitOfWork when doing a change (which triggers a query)
I support this issue, now are there any solutions?
Up ? :dancers:
+1
Symfony2 reads the user from the database on every request. wondering if we can help users here by implementing cache strategies or something like that.