Frontmatter
| id | 9036 |
| title | Perf: Optimize GitHub Avatar Sizes |
| state | Closed |
| labels | enhancementaiperformance |
| assignees | tobiu |
| createdAt | Feb 7, 2026, 8:47 PM |
| updatedAt | Feb 7, 2026, 8:53 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9036 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 7, 2026, 8:53 PM |
Perf: Optimize GitHub Avatar Sizes
tobiu added parent issue #8930 on Feb 7, 2026, 8:48 PM

tobiu
Feb 7, 2026, 8:53 PM
Input from Gemini 3 Pro:
✦ Optimized GitHub avatar loading and introduced
avatarSizeconfig.
- Updated
src/component/GitHubUser.mjsto useavatarSize: 64(default) and appendsparameter using URL API.- Updated
src/component/GitHubOrgs.mjsto useavatarSize: 40(default) and appendsparameter using URL API.- Eliminated magic numbers by making
avatarSizea configurable property.Changes pushed to
dev.
tobiu assigned to @tobiu on Feb 7, 2026, 8:53 PM
tobiu closed this issue on Feb 7, 2026, 8:53 PM
Optimize GitHub avatar image loading by appending the
s(size) query parameter to avatar URLs.Goal: Reduce bandwidth usage by requesting appropriately sized images instead of full-resolution originals.
Changes:
src/component/GitHubUser.mjs:32px.&s=64(for 2x DPI) toavatarUrl_.src/component/GitHubOrgs.mjs:20px.&s=40(for 2x DPI) toavatar_url.Logic:
?v=4).&s=SIZEor?s=SIZEaccordingly.