title: Defer primefaces.js loading
body: <p>The google pagespeed is indicating that loading primefaces.js is slowing down my page:</p>
  
  <p>From the pagespeed report:</p>
  
  <blockquote>
    <p>Defer parsing of JavaScript 
    By minimizing the amount of JavaScript
    needed to render the page, and deferring parsing of unneeded
    JavaScript until it needs to be executed, you can reduce the initial
    load time of your page. </p>
  </blockquote>
  
  <pre><code>Suggestions for this page
   284.3KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.
   https://www.mysite.co.uk/.../primefaces.js.xhtml?... (185.4KiB)
   https://www.mysite.co.uk/.../jquery.js.xhtml?... (95.1KiB)
  </code></pre>
  
  <p>How can I resolve this?</p>