I use firebase admin SDK in my nodejs server. If I download data of a certain realtime database path multiple times, it can be seen that the SDK downloads data of that path every time.
firebaseAdmin.database().ref('some/path').on('value', snapshot => {
});
If I use the firebase profiler, it is apparent that the SDK downloads data every time, since the profiler shows data usage for every time above code executes.
Is there any way to enable persistence of the realtime database data in admin SDK, so that the SDK will only download the delta when a change happened to that path?