WooCommerce REST API causing long load times
-
All of my site pages (including WP dashboard) are loading very slowly. I installed wp-cli and used the profile command. Looking at the full output from “wp-cli profile hook rest_api_init –spotlight”, the worst performing callbacks are both from WooCommerce: Automattic\WooCommerce\Admin\API\Init->rest_api_init() and Automattic\WooCommerce\RestApi\Server->register_rest_routes().
Have I tried disabling the WooCommerce plugin? Not yet (because I need its functionality, of course), but I assume it would fix it. But, WooCommerce is supposed to be a really well-tested, first-party product. It should work great.
How can I determine why (apparently) WooCommerce is increasing my load times by like three whole seconds? And/or disable the WooCommerce REST API, even though I don’t have any API keys in the list and the Legacy API is unchecked?
- The topic ‘WooCommerce REST API causing long load times’ is closed to new replies.