{"id":12101515,"date":"2019-11-06T06:52:43","date_gmt":"2019-11-06T06:52:43","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/loading-lot-a-js-library-from-wp\/"},"modified":"2019-11-06T06:52:43","modified_gmt":"2019-11-06T06:52:43","slug":"loading-lot-a-js-library-from-wp","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/loading-lot-a-js-library-from-wp\/","title":{"rendered":"Loading lot \u00e0 JS library from WP"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I&#8217;m trying to reduce the number of loading requests (css+jss) on the front-end.  I was curious about lot of useless of JS librairies loaded by my website (front-end, i don&#8217;t care about admin pages :)) :<br \/>\n* i18n, autop, wp-polyfill, blob, lodash, react, reac-dom, escape-html, element, is-shallow-equal, compose, priority-queue, reduc-routine.<\/p>\n<p>All of these are loaded when Insert-Pages modules is enabled. When the module is disabled, theses libraries are not loaded.<\/p>\n<p>These libraries are loaded even on page where InsertPage is not used (however not totally sure). I can&#8217;t tell if it is a new behaviors from the last versions or something ele<\/p>\n<p>Using last versions of WP and InsertPage. Using tinyMCE and BoldBuild. Gutenberg is disabled. Tests done on the front-end anonymously.<\/p>\n<p>Could someone confirm the problem ? I feel alone with my problem ahah.<br \/>\nThank you for your help and for this  so usefull plugin !<br \/>\nHave a nice day.<br \/>\nArnaud<\/p>\n","protected":false},"template":"","class_list":["post-12101515","topic","type-topic","status-publish","hentry","topic-tag-performance"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12101515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12101515\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12101515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}