Enable caching for the service:
crudService.enableCache(method : UniversalMethod = 'GET', lifetime : number = 2000) : this
Disable caching for the service:
crudService.disableCache() : this
Flush all caches of the service:
crudService.flush() : this
Flush a single cache by its urlWithParams for enabled services:
urlWithParams
cacheService.flush(urlWithParams : string) : this
Flush many caches by their url for enabled services:
url
cacheService.flushMany(url : string) : this
Flush all caches for enabled services:
cacheService.flushAll() : this
Observe a single cache by its urlWithParams for enabled services:
Observe many caches by their url for enabled services:
Observe all caches for enabled services:
Last updated 4 years ago
cacheService.observe(urlWithParams : string) : Observable<[string, Store]>
cacheService.observeMany(url : string) : Observable<[string, Store]>
cacheService.observeAll() : Observable<[string, Store]>