External HTTP API calls slowing down WordPress admin – WordPress Development Stack Exchange

Question

By using Query Monitor I’m finding that virtually every page load within WordPress admin results in 15-25 server-side HTTP API calls being made. Most take less than 0.1s, but there’s 5 or more that take 0.3 to 0.4s. Overall it’s slowing down page load times by 3s or so.

These requests seem to mostly be to 3rd party sites licensing, version-check or authentication APIs.

For example, one is to Woocommerce – https://api.wordpress.org/plugins/info/1.0/woocommerce.json

Some others include:

(Some of these are POST requests so won’t provide anything useful if you go the URL directly without the POST data)

The Facebook for Woocommerce plugin makes 4 calls to facebook.com APIs which take around 1s collectively on their own.

These requests are occurring on pages within the admin which seemingly have nothing to do with these plugins. There’s at least 10 plugins doing a similar thing. Most are really well known and popular plugins (e.g. Yoast and WP-Rocket to name a couple more).

Is this normal? It seems crazy to me that licensing checks, version updates, pricing tables, etc, would be happening on virtually every page load within the admin.

Is there any way to stop these without modifying plugin code?

Thanks!

0
Baraka 5 months 2022-07-18T13:04:26-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse