saveHtmlCache() {
    this.setStore("htmlCache", document.documentElement.innerHTML);
  }
Save the current DOM state to browser localStorage.
localStorage is persistent and so can be recovered even after a browser restart.