Review use of application cache
Main requirements for the cache are as follows:
- cache access token from auth service until it expires and get a new token then it has expired
- Cache the app configuration from the config service call, if this is requested at any point and has expired this must be re-pulled from the config service
- Cache merchant information for a period and if this is requested at any point and has expired this must be re-pulled from the merchant service
- Cache contract/product information for a period and if this is requested at any point and has expired this must be re-pulled from the merchant service
What i cant decide is the expiry times for 2,3 and 4
I also want to have my merchant balance cached so this can be displayed on the front screen somewhere, this will be managed by the balance refresher
Review use of application cache
Main requirements for the cache are as follows:
What i cant decide is the expiry times for 2,3 and 4
I also want to have my merchant balance cached so this can be displayed on the front screen somewhere, this will be managed by the balance refresher