The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Need Fix | Excessiv...
 
Share:
Notifications
Clear all

Bug Need Fix | Excessive Number of Gravatar HTTP Calls (Backend)

6 Posts
2 Users
1 Reactions
205 Views
Posts: 122
Topic starter
(@aerostar)
Estimable Member
Joined: 5 years ago

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!


5 Replies
Asti
Posts: 8145
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi,

I’m sorry, but there is no way to disable this feature. It is designed to work this way.


Reply
Posts: 122
Topic starter
(@aerostar)
Estimable Member
Joined: 5 years ago

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!

 


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8145

@aerostar 

The request is sent to retrieve avatars from Gravatar.

If you don’t want to make so many requests, you can remove the values from the two following options so that the requests are not sent.

image

Reply
Posts: 122
Topic starter
(@aerostar)
Estimable Member
Joined: 5 years ago

Hi @asti,

Unfortunately, what you provided will not work since we are using one of the fields as noted below.

Screenshot 2

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.

 


Reply
Posts: 122
Topic starter
(@aerostar)
Estimable Member
Joined: 5 years ago

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!


Reply
Share: