Skip to content
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

Improve alternative protocols measures #92

Open
bkardell opened this issue Jul 26, 2023 · 2 comments
Open

Improve alternative protocols measures #92

bkardell opened this issue Jul 26, 2023 · 2 comments

Comments

@bkardell
Copy link

Currently as part of the "mobile web" chapter of the almanac we track "alternative protocols". Note that both ends of this are a little strange as there's nothing particular to mobile web about that, but I'm more interested in the other end. Currently we're measuring this on anchor links only, but there are many places where URLs are used and there are different protocols which may or may not be useful in other contexts.

Currently there are a lot of "developing protocols" with different aims and degrees of support through certain browsers or extensions, protocol handlers, etc. For example, ipfs: may (or may not) be relevant as a source for an image/picture or a video or a stylesheet or script or iframe or a form even? But that's a very particular example, others might be made relevant through a <link> generally or something. It seems like it might make sense to just catalog all of the places URLs are used and how/which protocols (and ideally store a few sample URLs)..

So, basically just like we do with <a href=....> but a map of them rather than just 1?

@rviscomi rviscomi transferred this issue from HTTPArchive/httparchive.org Aug 9, 2023
@rviscomi
Copy link
Member

rviscomi commented Aug 9, 2023

Would a custom metric mapping tag names to protocols get you what you're looking for? Any interest in writing the script for that?

@bkardell
Copy link
Author

I guess it wouldn't catch something that tried to use in CSS but otherwise yeah, that sounds right at first blush. I can try to find the time to do that, but no promises as I have a lot atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants