refactor(dom) getCurrentData
feature(edit) add saveDataToCache