[Bug] Switching between tabs on profile page increases the profile view counter by 3 #35

Closed
opened 2025-11-20 04:15:24 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @aakashthakare on GitHub (Oct 31, 2022).

On profile page, if you switch tab say from Overview to Repository and come back to Overview tab, you'll see counter of profile view is increased by 3.

Not sure about the feasibility, but it should increase by one only.

Originally created by @aakashthakare on GitHub (Oct 31, 2022). On profile page, if you switch tab say from Overview to Repository and come back to Overview tab, you'll see counter of profile view is increased by 3. Not sure about the feasibility, but it should increase by one only.
Author
Owner

@antonkomarev commented on GitHub (Nov 1, 2022):

Each profile view page doesn't use any cache, so page loading increments the counter.

We don't know who was the original initiator of the request, we can only increase the counter when GitHub server message us.

This is because GitHub proxies all image URLs through the GitHub Camo service. The IP address and user agent in each request are always the same, they are replaced with Camo service ones.

@antonkomarev commented on GitHub (Nov 1, 2022): Each profile view page doesn't use any cache, so page loading increments the counter. We don't know who was the original initiator of the request, we can only increase the counter when GitHub server message us. This is because GitHub proxies all image URLs through the GitHub Camo service. The IP address and user agent in each request are always the same, they are replaced with Camo service ones.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/github-profile-views-counter#35