dart-lang / dart-lang/pub-dev

Consider proxying images from the README.md file

Open
#2,818 2 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Proxying images from the `README.md` file displayed on the package page would mitigate user tracking by third-parties.

I'm not sure we need to cache, maybe caching a few minutes would be nice. But I don't think we have to be particularly concerned about third-parties tracking the number of requests, so long as we don't allow attaching cookies or expose the IP of the pub visitor.
A proxy should probably only proxy URLs from our markdown, not arbitrary URLs from query-string.

Note. embedding images is useful for screenshots, etc.

Credits @sortie for suggesting this might be undesirable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.