title: WebWorks UI structure: All in one HTML, or separate files?
body: <p>What is the right way to design the page structure of a WebWorks app? I'm using jQuery-mobile as well.</p>
  
  <p>A: Should all the pages be in a single HTML, each page being a:</p>
  
  <pre><code>&lt;div data-role="page"&gt;...&lt;/div&gt;
  </code></pre>
  
  <p>B: Should pages be separated in different HTML files linking to each other?</p>
  
  <p>I am currently using approach A, but the app is a slow when transitioning from a page to another. I suspect one of the reasons is the size of the single HTML that includes all pages.</p>
  
  <p>Also another issue I'm having is that pressing the physical "back" button on the phone exits the app which is another reason I'm doubting my approach in having all pages in one HTML.</p>