Hi, Many months we made the decision to always call refreshUser() on every request. Now this makes sense as a default and obviously when using some expensive data source one should consider some sort of caching for this. However I think we should provide some simple ways to reduce the number of calls to the data source, basically I think we should cover the following scenarios
1) fetch on every request this is what we have today 2) fetch every X requests 3) fetch after Y amount of seconds For both X and Y we should probably also include some ways to easily set the interval dynamically on the first load and subsequent refreshes. This will imho cover the bulk of what users will need in practice without having to make the user implement similar logic in every user provider. Gruss, Lukas -- Liip AG // T +41 43 500 39 84 // M +41 77 42 61 811 Feldstrasse 133 // CH-8004 Zürich // GPG0x34DF44F7 Lukas Kahwe Smith m...@pooteeweet.org -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en