WordPress Admin Slow Due to Excessive HTTP API Calls
-
Hello,
I have an issue with my WordPress back office, which has become very slow. The back office takes 13 seconds to load, and this is due to HTTP API calls (I was able to verify this with Query Monitor).
On each back-office page load, there are many API requests, some coming from WordPress Core and others from plugins like WooCommerce, WPML, WP Rocket, etc. Each request takes on average between 0.3 to 0.8 seconds to load. These are mainly update checks, notifications, and so on.
Here is a screenshot of all the requests (link) :
What I don’t understand is why each back-office page triggers all these requests. I have checked other WordPress sites I manage (including WooCommerce sites), and there are not nearly as many HTTP calls. Typically, there is only one HTTP request or none at all.
I have tried many solutions to prevent these requests from being generated, but none have worked. I have switched to the default theme, deactivated plugins, and tried different caching solutions. I even reset the site with WP Reset, but these calls continue to be triggered. When I add this line to the wp-config.php file:
define('WP_HTTP_BLOCK_EXTERNAL', true);
the loading time drops to a maximum of 3 seconds. However, this is not a good solution because updates and HTTP calls related to WooCommerce (such as for payment gateways) are blocked. The HTTP Requests Manager plugin also allows me to limit these requests, but it doesn’t solve the root issue.
I have tried other solutions, but nothing works. Does anyone have an idea or a potential solution for the origin of these HTTP calls on each back-office page load? Thank you.
- You must be logged in to reply to this topic.