title: Create a dom element from a separate html page
body: <p>I have a single web app that uses javascript to manipulate DOM elements heavily to create new UI depending on certain events. Client-side rendering becomes slower and slower as the app grows and I'm looking for a way to improve it. Specifically, I want to create a DOM element that is a clone of an html page (which is rendered on server-side completely), then insert this element into the existing web app. That would be inserting one big DOM element instead of manipulating many little elements heavily. That's the idea but I'm not sure if it's possible, and if so, how can I do that? If it's not possible, is there any better way to move most of the client-side rendering work to server?</p>
  
  <p>Thanks,
  H</p>