Page MenuHomePhabricator

Gerrit makes many unnecessary requests to fetch gravatars on each page load
Closed, ResolvedPublic

Description

browser console showing requests

Gerrit appears to have some kind of Gravatar support baked in. We don't have any graphical avatars, but we don't disable the feature either, with the result that Gerrit keeps making attempts to fetch avatars, all of which fail with a 404. These requests are ineffectual and expensive. Could we eliminate them?


Version: wmf-deployment
Severity: normal

Attached:

Screen_Shot_2013-10-29_at_2.52.47_PM.png (778×1 px, 360 KB)

Details

Reference
bz56350

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:20 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz56350.
bzimport added a subscriber: Unknown Object (MLST).

Yeah this is stupid, I filed a bug upstream about it some time ago: https://code.google.com/p/gerrit/issues/detail?id=1987

We could actually install a plugin that would allow avatars from a predefined URL source (like Commons or Wikitech) if that's something people want (I don't want to install Gravatar though).

(In reply to comment #1)

We could actually install a plugin that would allow avatars from a predefined
URL source (like Commons or Wikitech) if that's something people want (I
don't
want to install Gravatar though).

No please. (However, to be fair: perhaps worth noting that TwnMainPage uses them.)

  • This bug has been marked as a duplicate of bug 48649 ***