• Resolved titsmaker

    (@titsmaker)


    Hi, I’ve just noticed that plugin loads 1.4 Mb (!!) of JavaScript on checkout page. That’s equivalent of 15 jQuery libraries. I am rather sure this can be optimized somehow. On poor connection this can lead to very slow checkout loading and poor conversion as a result.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    That’s the web3 library which we cannot do without because of Metamask.

    Thread Starter titsmaker

    (@titsmaker)

    So maybe consider loading it separately and conditionally only if Metamask is used (which is not true in my case)?

    Plugin Author edward_plainview

    (@edward_plainview)

    We have separated the web3.js file. It is only loaded on the payment page. If you don’t offer ETH or any ERC20 tokens you can dequeue the file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript size’ is closed to new replies.