support oncachechange event for localCache