This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
WooCommerce Blocks load MUCH slower than classic WooCommerce Widgets #7759
Labels
focus: performance
The issue/PR is related to performance.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
The WooCommerce blocks have been a terrible experience for our store, as they avoid page caching and use the slow WordPress REST API – each REST API call takes around 1.8s; hacking WP REST Cache to work with WooCommerce was not enough to make the fetch response time reasonable. The classic WooCommerce widgets, on the other side, are way faster – they don’t rely on the REST API and work with page caching. Would love it if the blocks had an option to avoid using the REST API! That would combine the best of both worlds.
To reproduce
Steps to reproduce the behavior:
Expected behavior
WooCommerce blocks should render the same way the WooCommerce Widgets do.
Screenshots
I've added videos from our website (which uses cheap shared hosting) showcasing the big difference in loading times.
Environment
WordPress (please complete the following information):
Desktop (please complete the following information):
blocks.mp4
classic-widgets.mp4
The text was updated successfully, but these errors were encountered: