You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggestion: fetch only required fields from db when not in cache #7
When the required fields are not available in the cache, userCache simply calls _original() which causes the entire user object to be fetched from the db, even though userCache knows which fields are required.
If instead userCache were to only fetch the requested fields then less data may need to be fetched. If the developer stores lots of custom data on in the users db then this could be a significant saving.
I suggest an improvement similar to the following:
Activity
fix msavin#5 msavin#7 msavin#8 msavin#9