&gt; Dummy Content and Placeholders<p>We&#x27;ve started doing something similar with our front-end apps, but it&#x27;s not placeholders. Our router is set up to store page markup (indexed by DOM node ID) at the end of every page request. So for the dashboard, we&#x27;d save something to localstorage with the key &quot;APPNAME.domstate.dashboard&quot;:<p><pre><code>    { &#x27;#nav&#x27;: $nav.html(),
      &#x27;#header&#x27;: $header.html(),
      &#x27;#main&#x27;: $main.html()
      ...
    }
</code></pre>
We compile HTML templates for every root page (in this case dashboard). On every new page load, the template is set up to look for the domstate in localstorage before it downloads any JS and bootstraps the application.<p>Since the HTML files are aggressively cached by the browser, and since the localstorage injection happens first, we can re-render the last version of that page for the user before the new data is re-populated. It works pretty well, but the drawback is you may see content flicker when it updates.