Gravatar Hovercards Load When There Are No Gravatars #14860
Labels
[Feature] Gravatar Hovercards
[Focus] Performance
[Pri] Low
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
Steps to reproduce the issue
Gravatar Hovercards
What I expected
I expect that the Gravatar Hovercards only get loaded on page views where there are going to be Gravatars, usually that would be for comments.
What happened instead
While viewing the front page of a site that showed no comment ( or Gravatars ), the resources for the Gravatar Hovercard feature was still being loaded. That means you pay the performance penalty for the feature, even when it can't be used.
I recently ran tests under slow mobile conditions and enabling Gravatar Hovercards increased the start render time by 21.4%. That may be fine on views where the feature is going to be used. On pages where the feature isn't used, that is pure overhead.
The text was updated successfully, but these errors were encountered: