In an offline application I'm developing I have quite a big dataset I'm currently managing with ngStorage. I'm wondering if there is a smart way to improve the performance. While some of the data is read only most of the time. That every change to the storage triggers a $rootScope.$apply() and the storage is updated on every $digest cycle is quite a hit on the performance. Is there a way to decouple spefic datasets while leaving others untouched or maybe another smart way to improve the performance for my use case?
In an offline application I'm developing I have quite a big dataset I'm currently managing with ngStorage. I'm wondering if there is a smart way to improve the performance. While some of the data is read only most of the time. That every change to the storage triggers a
$rootScope.$apply()
and the storage is updated on every $digest cycle is quite a hit on the performance. Is there a way to decouple spefic datasets while leaving others untouched or maybe another smart way to improve the performance for my use case?