- write dirty local storage cache to server