ng2-cache icon indicating copy to clipboard operation
ng2-cache copied to clipboard

Size issue not throwing an exception

Open stevewash123 opened this issue 3 years ago • 0 comments

We had an issue where a data table was increased in size, exceeding the 5Mb limit for local storage. It became a much bigger debugging and resolving issue because no exception was thrown. Reading from the cache simply returned null, which caused the main app to resort to the fallback method of reading from the API. An exception when writing more then the max limit would have been very welcome.

stevewash123 avatar Jan 31 '22 16:01 stevewash123