Size of the block JavaScript-files
-
Hello,
While optimizing some WordPress-sites I’ve noticed that WooCommerce adds ~19 MB to the Gutenberg editor screen (/wp-admin/post.php). It’s primarily these files which are 2.2 MB each:
/woocommerce/assets/js/blocks/products-attribute.js?ver=3.6.5 /woocommerce/assets/js/blocks/product-category.js?ver=3.6.5 /woocommerce/assets/js/blocks/product-on-sale.js?ver=3.6.5 /woocommerce/assets/js/blocks/product-new.js?ver=3.6.5 /woocommerce/assets/js/blocks/handpicked-products.js?ver=3.6.5 /woocommerce/assets/js/blocks/product-best-sellers.js?ver=3.6.5 /woocommerce/assets/js/blocks/product-top-rated.js?ver=3.6.5 /woocommerce/assets/js/blocks/featured-product.js?ver=3.6.5This makes the Gutenberg editor quite slow to load.
I found this ticket which seems to contain a fix.
https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/571
It’s part of a subproject though (Milestone 2.2) and I’d love to know in which WooCommerce-version this fix will go out.
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Size of the block JavaScript-files’ is closed to new replies.