-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share icons #181
Comments
I won't vote for or against this, but I'd like to make a note: these buttons ping an external service every time they're displayed. This affects both user's privacy and site's performance. Performance: downloading an image—even checking if the cached version is still valid—requires a DNS lookup and establishment of a TCP connection (plus possible TLS tunnel). That's two to three RTTs, not counting the time it takes servers to process the queries. Also, browsers cap the number of connections at 6 per tab. Privacy: there are users out there—me included—who don't want to let social media know of every little thing we view online. Unfortunately, downloading an image does just that. Please consider using Social Share Privacy or something similar if you decide to add these buttons. |
I see no reasons for these buttons to ping any external services to be displayed. If they are then it's just wrong. Our buttons definitely shouldn't do stuff like this. |
Also there's a couple of points about your whole networking/RTT thing.
Also you should check my initial image again. Look, there're no any social counters that would require us to go to any external server to show them. These are just images, no more. bash.im itself loads them (all in one request) from Yandex Share Service, but we don't have to. |
Good. Now I can be sure it will be implemented properly. Thanks. My points regarding performance and privacy were written with default button implementations in mind. They all involve you injecting a snippet that will download an image and some JS code from external server—separate and different for each social network, so the number of TCP connections established is pretty much equal to the number of social networks out there. I was fearing you might go that way too, hence my note. |
I think we understood each other. We're not going to make any shits here! |
Well, guys, maybe we should add a share icons such as bash.im does? It looks like that:
Sharing the links that way is much more convenient than copy-pasting the links to the social network manually (because their UI is so complex so it seems that you can navigate it only after acquiring your first PhD degree; in particular, I cannot navigate it at all).
The text was updated successfully, but these errors were encountered: