ng2-cache
ng2-cache copied to clipboard
ng2-cache support IE10 and above?
I have plan to use ng2-cache ,whether it support IE 10 and above browsers.why ng2cache data store in session storage instead of in memory?how to use it in cache memory instead of session storage.
Hi, If current storage is not available - service will choose memory storage itself, btw you always able to specify the storage: providers: [ CacheService, {provide: CacheStorageAbstract, useClass:CacheMemoryStorage} ]
OR
let storage = this._cacheService.useStorage(CacheStoragesEnum.LOCAL_STORAGE);