Good Day,
Query Monitor is detecting an excessive (and frequent) number of Gravatar HTTP calls in the backend.
This condition is impacting our website performance. This is not a unique issue, it affects all of your plugin users. As a result, we are blocking the HTTP calls via PHP code.
Details: https://prnt.sc/Fyonr-J61Zbc
Please review your plugin and provide a fix for the noted condition. Previous revisions of your plugin did not have this issue.
Thank you!
Hi,
I’m sorry, but there is no way to disable this feature. It is designed to work this way.
Hi @asti,
Unfortunately, that is not acceptable on the basis that:
1. Prior to Revision 7.6.31, the issue was not present.
2. There is an excessive (and unnecessary) number of backend HTTP calls to www.gravatar.com
3. Blocking all gravatar calls in the backend have not produced any issues on the frontend.
So, based on the above:
1. Please explain why so many HTTP calls now?
2. How can we limit the number of calls to once daily? I highly recommend updating your plugin to reflect that in action scheduler. Also, until your plugin is updated, please provide a code snippet or wp-config rule to accomplish this.
Thank you!
Hi @asti,
Unfortunately, what you provided will not work since we are using one of the fields as noted below.
Again, the gravatar.com HTTP calls are excessive and unnecessary. Please update your plugin code to introduce a scheduled action (cron) that will check the gravatars once per day (not every 10-20 seconds).
To verify our findings (again), please install the plugin Query Monitor to view the HTTP calls and frequency.
Thank you.
Hey @asti,
Got updates? What's going on?
I noticed the gravatar.com HTTP API calls -- previously detected and reported by Query Monitor -- have stopped.
Please advise 🙂
Thank you!