When caching a page we cache a clone of the body using cloneNode(true) rather than a reference to the document.body as the reference will change when document.body changes.