• Resolved arnaud16571542

    (@arnaud16571542)


    Hello,

    I’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’t care about admin pages :)) :
    * i18n, autop, wp-polyfill, blob, lodash, react, reac-dom, escape-html, element, is-shallow-equal, compose, priority-queue, reduc-routine.

    All of these are loaded when Insert-Pages modules is enabled. When the module is disabled, theses libraries are not loaded.

    These libraries are loaded even on page where InsertPage is not used (however not totally sure). I can’t tell if it is a new behaviors from the last versions or something ele

    Using last versions of WP and InsertPage. Using tinyMCE and BoldBuild. Gutenberg is disabled. Tests done on the front-end anonymously.

    Could someone confirm the problem ? I feel alone with my problem ahah.
    Thank you for your help and for this so usefull plugin !
    Have a nice day.
    Arnaud

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter arnaud16571542

    (@arnaud16571542)

    Sorry, lot of typo in this post, and i can’t correct them after posting :/

    Plugin Author Paul Ryan

    (@figureone)

    Version 3.5.1 has been released with a fix that stops loading Gutenberg assets on the front end:
    https://github.com/uhm-coe/insert-pages/commit/e4b6df4c50aa44faefa55c703f5004b23956d17f

    Also, there is a new Insert Pages setting to disable the Gutenberg block entirely, if you don’t intend to use it.

    Thread Starter arnaud16571542

    (@arnaud16571542)

    Hello Paul,

    Thank you very much for your ultra-quick reply. I updated my site this morning, and it works as expected (and Gutenberg block disabled in the settings page).

    Before your correction, I checked the code just if i could find the bug by myself. I was surprised because the plugin is more complex than I though for a ‘insert page plugin’…so Thank you for all your work !

    Best regards,
    Arnaud

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading lot à JS library from WP’ is closed to new replies.