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

Resource Hints 2020 #920

Closed
10 tasks done
foxdavidj opened this issue Jun 27, 2020 · 34 comments
Closed
10 tasks done

Resource Hints 2020 #920

foxdavidj opened this issue Jun 27, 2020 · 34 comments
Assignees
Labels
2020 chapter Tracking issue for a 2020 chapter writing Related to wording and content

Comments

@foxdavidj
Copy link
Contributor

foxdavidj commented Jun 27, 2020

Part IV Chapter 21: Resource Hints

Content team

Authors Reviewers Analysts Draft Queries Results
@Zizzamia @notwillk @giopunt @jessnicolet @pmeenan @mgechev @khempenius Doc *.sql Sheet

Content team lead: @Zizzamia

Welcome chapter contributors! You'll be using this issue throughout the chapter lifecycle to coordinate on the content planning, analysis, and writing stages.

The content team is made up of the following contributors:

New contributors: If you're interested in joining the content team for this chapter, just leave a comment below and the content team lead will loop you in.

Note: To ensure that you get notifications when tagged, you must be "watching" this repository.

Milestones

0. Form the content team

  • Jul 6th: Project owners have selected an author to be the content team lead
  • Jul 13th: The content team has at least one author, reviewer, and analyst (minimally viable team formed)

1. Plan content

  • Jul 20th: The content team has completed the chapter outline in the draft doc
  • Jul 27th: Analysts have triaged the feasibility of all proposed metrics

2. Gather data

  • Aug 1 - 31: August crawl
  • Sep 7th: Analysts have queried all metrics and saved the output to the results sheet

3. Validate results

4. Draft content

  • Nov 12th: Authors have completed the first draft in the doc
  • Nov 26th: The content team has prototyped all data visualizations

5. Publication

  • Nov 26th: The content team has reviewed the final draft, converted to markdown, and filed a PR to add it to the 2020 content directory
  • Dec 9th: Target launch date
@foxdavidj foxdavidj added help wanted Extra attention is needed analysis Querying the dataset writing Related to wording and content labels Jun 27, 2020
@foxdavidj foxdavidj added this to the 2020 Content Planning milestone Jun 27, 2020
@rviscomi rviscomi added the 2020 chapter Tracking issue for a 2020 chapter label Jun 27, 2020
@rviscomi
Copy link
Member

rviscomi commented Jul 1, 2020

@Zizzamia thank you for agreeing to be the lead author for the Resource Hints chapter! As the lead, you'll be responsible for driving the content planning and writing phases in collaboration with your content team, which will consist of yourself as lead, any coauthors you choose as needed, peer reviewers, and data analysts.

The immediate next steps for this chapter are:

  1. Establish the rest of your content team. Several other people were interested or nominated (see below), so that's a great place to start. The larger the scope of the chapter, the more people you'll want to have on board.
  2. Start sketching out ideas in your draft doc.
  3. Catch up on last year's chapter and the project methodology to get a sense for what's possible.

There's a ton of info in the top comment, so check that out and feel free to ping myself or @OBTo with any questions!

@MaedahBatool we'd still love to have you contribute as a peer reviewer or coauthor as needed. Let us know if you're still interested!

@rviscomi rviscomi added help wanted: reviewers This chapter is looking for reviewers help wanted: analysts This chapter is looking for data analysts and removed help wanted Extra attention is needed labels Jul 2, 2020
@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 2, 2020

Awesome, I have a couple of people I am going to ask to be reviewers as well. Of course, @MaedahBatool if you are still interested I would love you to have your help as well as a reviewer. 🌲🚀🌕

@rviscomi
Copy link
Member

rviscomi commented Jul 3, 2020

@Zizzamia I've sent you an invite to join the HTTP Archive org on the Authors team. Could you go to https://github.com/HTTPArchive to accept? You need to be a member of the org in order to have issues assigned to you, so this will help with our issue tracking. Thanks!

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 3, 2020

@rviscomi done, and thank you!

@rviscomi
Copy link
Member

rviscomi commented Jul 3, 2020

Thanks! You also have edit access to the top comment now, so please keep that up to date as the chapter progresses.

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 5, 2020

Ciao all! 👋

Thanks again to @rviscomi and @OBTo for selecting me to lead this effort. We have three people helping as reviewers at the moment (@notwillk, @giopunt, and @jessnicolet), but we don't have any analysts yet. Looking forward to having more help on the Data Analysts side. 🧪

A few places to start reading about 2019 and reflecting on what has happened with Resources Hints in 2020:

Based off of the 2019 Almanac, we can continue the conversation re:

  • Adoption of resource hints.
  • Median and 90th percentiles of the number of resource hints used per page out of all pages using a resource hint.
  • Adoption of the crossorigin attribute as a percent of resource hint instances.
  • The percent of resource hint instances using the as attribute.
  • The rate of priority hint adoption.

In 2020 we can also analyze:

  • Native lazy loading adoption
  • HTTP2/ Push adoption with preload and prefetch
  • Machine learning prefetch/preload adoption with Guess.js or similar technologies.

That was a quick kickoff to spark ideas/suggestions for this chapter. @notwillk, @giopunt, and @jessnicolet feel free to share ideas in the comments or ping me directly on Twitter (@zizzamia). ✨

And if anyone from the web community has any other recommendations, please, I'm all 👂

@pmeenan
Copy link
Member

pmeenan commented Jul 6, 2020

If you're still looking for reviewers, I'd be happy to help.

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 7, 2020

Just added you on the reviewer's list, and invited you on our Twitter DM group.

@rviscomi
Copy link
Member

rviscomi commented Jul 7, 2020

@Zizzamia regarding the DM group, consider moving that discussion to a public forum (this issue or the draft doc) for all of the reasons @bazzadp excellently described here: #899 (comment)

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 7, 2020

Sounds good, we will keep all the discussion between this issue and the draft doc 😁

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 7, 2020

We are looking for one Data Analyst, @max-ostapenko do you have enough bandwidth to help with this chapter as well? ✨

@rviscomi
Copy link
Member

rviscomi commented Jul 7, 2020

Also cc @khempenius (author and data analyst for this chapter last year)

@khempenius
Copy link
Contributor

I can be the analyst for this chapter if no one else is interested.

@Zizzamia
Copy link
Contributor

Grazie Mille @khempenius!
Officially the Resource Hints content team is complete 🌲🚀🌕
I am going to give a refresh on the doc over the weekend, and if anyone in the team (@notwillk, @giopunt, @jessnicolet, @pmeenan, @khempenius) has some early ideas feel free to share it here or in the doc.

@rviscomi rviscomi removed help wanted: analysts This chapter is looking for data analysts help wanted: reviewers This chapter is looking for reviewers labels Jul 10, 2020
@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 12, 2020

Ciao @notwillk, @giopunt, @jessnicolet, @pmeenan, @khempenius! 😁
I just completed the draft for the chapter outline, if you have ideas or suggestions feel free to add them to the Doc or share them in this thread.

@khempenius, let me know when is a good time to start writing down the metrics. I noticed we can re-use several queries from 2019, and for the new 2020 queries I am looking forward to hearing your opinions on how feasible they are, and if there are any particular new ones you are looking to add as well. 🧪

@mgechev, in the draft doc we are going to have a section about "Faster web navigation with predictive prefetching" and I would love to hear your thoughts on that as well. Thx 😄

Thank you already to @jessnicolet for editing the outline and @pmeenan for answering some of my open questions. ✨

@wardpeet
Copy link

Sorry, I haven't been able to work on Gatsby's GuessJs implementation. It still works, but the more data you have, the bigger your bundle.

So, if you keep your data small like a week or two of data, it works pretty well.

@foxdavidj
Copy link
Contributor Author

@khempenius Took a look through the chapter and it looks like the Crawler should be setup to get most if not all of the data you need. I saw @rviscomi ping you already, but let me know if you find any data you need that the Crawler is not tracking.

I'm working on adding new custom metrics to the crawler right now :)

@Zizzamia
Copy link
Contributor

@khempenius, thank you for writing down all the queries for this chapter. There are a couple of comments that I left in the document related on a few extra metrics I think we need to have. Let me know if you think they are doable.

@OBTo one thing I am looking to track, is how many websites used Guess.js for "Faster web navigation with predictive prefetching". Can the Crawler determine this kind of information? cc @rviscomi @mgechev

@mgechev
Copy link
Member

mgechev commented Jul 27, 2020

I'd be curious to know this as well. Based on my understanding you can use HTTPArchive to look for globals. Guess.js exposes __GUESS__ that can help you find out the numbers.

@rviscomi
Copy link
Member

Yes, a custom metric could return whether that global exists. ⚠️ Today is the deadline to add any new custom metrics. ⚠️

@Zizzamia
Copy link
Contributor

@khempenius sorry for last minute request, anyway we can have a query for #920 (comment) ? Thank you

@Zizzamia
Copy link
Contributor

Zizzamia commented Jul 28, 2020

Never mind @khempenius, I just notice you already add it 90c2064, amazing 🙏

@foxdavidj
Copy link
Contributor Author

@Zizzamia @khempenius for the two milestones overdue on July 27 could you check the boxes if:

  • the outline has been reviewed and all feasible metrics have been identified
  • any necessary custom metrics have been created and you've created a draft PR to track which feasible metrics have had their queries implemented (we've updated the milestone description to clarify this)

Keeping the milestone checklist up to date helps us to see at a glance how all of the chapters are progressing. Thanks for helping us to stay on schedule!

@foxdavidj
Copy link
Contributor Author

I've updated the chapter metadata at the top of this issue to link to the public spreadsheet that will be used for this chapter's query results. The sheet serves 3 purposes:

  1. Enable authors/reviewers to analyze the results for each metric without running the queries themselves
  2. Generate data visualizations to be embedded in the chapter
  3. Serve as a public audit trail of this chapter's data collection/analysis, linked from the chapter footer

@rviscomi
Copy link
Member

rviscomi commented Sep 28, 2020

@Zizzamia I've iterated on @khempenius's queries and saved the results to your chapter results sheet. Please take a look and leave a comment if you see anything awry. The SQL is still being reviewed, so the results are liable to change, but I expect it to go through soon and this will give you a good foundation to start drafting the chapter.

Peer reviewers: @notwillk @giopunt @jessnicolet @pmeenan @mgechev please also review the results and comment on anything unexpected/incorrect.

@khempenius please work with @Zizzamia to create the data viz as needed. I've made a few charts so far but not for all metrics.

go go go 🚗 💨

@rviscomi
Copy link
Member

PR merged, so the results are ready for review.

@Zizzamia
Copy link
Contributor

Zizzamia commented Oct 1, 2020

Amazing, thank you @rviscomi. Will work on them this weekend.

@foxdavidj
Copy link
Contributor Author

@Zizzamia in case you missed it, we've adjusted the milestones to push the launch date back from November 9 to December 9. This gives all chapters exactly 7 weeks from now to wrap up the analysis, write a draft, get it reviewed, and submit it for publication. So the next milestone will be to complete the first draft by November 12.

However if you're still on schedule to be done by the original November 9 launch date we want you to know that this change doesn't mean your hard work was wasted, and that you'll get the privilege of being part of our "Early Access" launch.

Please see the link above for more info and reach out to @rviscomi or me if you have any questions or concerns about the timeline. We hope this change gives you a bit more breathing room to finish the chapter comfortably and we're excited to see it go live!

@rviscomi rviscomi added ASAP This issue is blocking progress and removed analysis Querying the dataset labels Nov 30, 2020
@exterkamp exterkamp mentioned this issue Dec 7, 2020
24 tasks
@rviscomi rviscomi removed the ASAP This issue is blocking progress label Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2020 chapter Tracking issue for a 2020 chapter writing Related to wording and content
Projects
None yet
Development

No branches or pull requests

7 participants