-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add memory cache to reduce database reads (#97)
* Added singleton IMemoryCache to DI * Added obvious caching functionality * Complete, v1, customer cache * CustomerService now needs `IMemoryCache` * Searches wouldn't be cached atm * updated doc to keep track * Added simple caching functionality * Added simple caching functionality and docs * Forgot async * Contacts are now cached * cleanup * now implements basic caching functionality * cleanup * Constructor now expects IMemoryCache DI. * Fixing TODO3 and now update caches entities * internal to allow centralized access when needs to be change to avoid inconsistency * update now cached * update now cached
- Loading branch information
1 parent
e0b0d6a
commit b24fdf5
Showing
9 changed files
with
266 additions
and
36 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
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
Oops, something went wrong.