• Resolved Mousebuilt

    (@konker)


    I noticed that even after all other plugins (including Woo extensions) are disabled, and using an unmodified twentyseventeen theme, the page editor still runs much more slowly with WooCommerce enabled. So I ran some tests with Devtools Network tab:

    Woo enabled: 114 requests | 4.1MB transferred | 23.4MB resources | Load: 19.28s
    Woo disabled: 96 requests | 1.1MB transferred |  5.0MB resources | Load:  8.89s

    WooCommerce is causing a massive performance hit in an area where it should really be just staying out of the way!

    Any suggestions on overcoming this?

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Just to check: Which resources are being loaded there? Is that on a product editing screen or for page editing in general?

    Thread Starter Mousebuilt

    (@konker)

    Thanks for following up RK

    It’s all page edit screens, regardless of whether they have Woo content or not.

    Sorted by descending size, the biggest scripts are:

    products-attributes.js
    product-category.js
    handpicked-products.js
    product-on-sale.js
    product-top-rated.js
    product-best-sellers.js
    product-new.js
    featured-product.js

    The above scripts range from 370 KB – 373 KB and each one takes almost exactly 2.9 seconds to load according to DevTools Network tab

    From there, the size of items drop:

    load-styles.php?....   124KB
    components.min.js      123KB
    tinymce.min.js         111KB
    post.php               77KB
    load-scripts.php...    66KB
    • This reply was modified 5 years, 9 months ago by Mousebuilt.
    Plugin Support RK a11n

    (@riaanknoetze)

    Those assets are very telling – it looks like they all have one thing in common: Gutenberg’s blocks and WooCommerce support for it.

    Are you seeing those same assets being loaded when Gutenberg is disabled? Here are the Gutenberg WooCommerce block that correspond with the JS files being loaded:


    Link to image: https://cld.wthms.co/d3nLCZ

    Thread Starter Mousebuilt

    (@konker)

    I’m not seeing the assets loaded on the ‘classic’ editor, only Gutenberg. Page load is noticeably faster in Gutenberg.

    I probably should also have mentioned before not: this is the ‘master’ site on a multi-site installation.

    Thread Starter Mousebuilt

    (@konker)

    Correction: Page load is noticeably slower in Gutenberg

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Yes you can use Plugin Organizer to selectively unload plugins on a per page / post type basis. This way you can dequeue Woo where it is not needed.

    https://www.ads-software.com/plugins/plugin-organizer/

    I probably should also have mentioned before not: this is the ‘master’ site on a multi-site installation.

    Ok. Make sure you have nothing “Network activated.” WooCommerce is not designed for this and must be locally activated.

    Kind regards,

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WooCommerce slows down page editor’ is closed to new replies.