-
Notifications
You must be signed in to change notification settings - Fork 70
Policy on CDNs for github IconUrl should be changed #183
Comments
Just to be clear:
This is not in violation of GDPR. |
I changed the comment because I do not want to evoke discussion on this here (and it is actually not CDN specific): IMHO serving external tracking pixels (as an extreme example to the same effect as using random external images) without mentioning it would be a problem. So I think for an GUI application it would be still safer to load from a source it explicitly mentions to the user like chocolatey.org. I think this one of the reasons Microsoft deprecates iconUrls |
Rather than speculate on the reasons for the deprecation of I think the best fix here would be to also adopt the embedded |
I am fine to close this issue in favour of rather adopting Thanks for linking the issues. At least one commenter there shares my general concern:
But sure other issues probably were the more direct cause. I am happy if I don't have to chose a CDN. |
choco-wiki/CreatePackages.md
Line 294 in c8f6f91
Microsoft recommends using raw git links in nuspec's iconURL (apart from it being deprecated): https://docs.microsoft.com/en-us/nuget/reference/nuspec#iconurl
Rawgit made sense before, it has become obsolete and now directs to:
I recently submitted a package without even noticing. I guess many people don't and this is OK (until they remove the redirect server)!
The reason for using it was mostly fixing githubs content type and increasing loading speeds.
However it turns out https://raw.githubusercontent.com/ has become a valid CDN for most usecases (no sign of ratelimiting I am aware of). They are using https://varnish-cache.org/ served from different locations.
Even if not. The chocolatey website has its own image cache. Either this is the only use, there is no need for a CDN (ratelimiting by github would have become an issue much earlier since rawgit started only redirecting). If there are client applications showing images they should probably better use https://chocolatey.org/content/packageimages/ instead of loading iconUrl.
The text was updated successfully, but these errors were encountered: