Tuesday, July 19, 2022
HomeWordPress DevelopmentExterior HTTP API calls slowing down Wordpress admin

Exterior HTTP API calls slowing down WordPress admin


By utilizing Question Monitor I am discovering that just about each web page load inside WordPress admin ends in 15-25 server-side HTTP API calls being made. Most take lower than 0.1s, however there’s 5 or extra that take 0.3 to 0.4s. Total it is slowing down web page load occasions by 3s or so.

These requests appear to largely be to third get together websites licensing, version-check or authentication APIs.

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

Some others embrace:

(A few of these are POST requests so will not present something helpful in the event you go the URL straight with out the POST information)

The Fb for Woocommerce plugin makes 4 calls to fb.com APIs which take round 1s collectively on their very own.

These requests are occurring on pages throughout the admin which seemingly don’t have anything to do with these plugins. There’s not less than 10 plugins doing the same factor. Most are actually well-known and common plugins (e.g. Yoast and WP-Rocket to call a pair extra).

Is that this regular? It appears loopy to me that licensing checks, model updates, pricing tables, and so forth, could be occurring on just about each web page load throughout the admin.

Is there any strategy to cease these with out modifying plugin code?

Thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments