The google pagespeed is indicating that loading primefaces.js is slowing down my page:
From the pagespeed report:
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.
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)
How can I resolve this?