-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always cache the complete user record.
Rationale: the callback which tweaks the result is not part of the cache key and differes between calls to getUsers(). So either the cache-key would have to code the callback or we simply cache the complete user record, regardless of the callback.
- Loading branch information
Showing
1 changed file
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters