Skip to content

Instantly share code, notes, and snippets.

@abinpaul1
Last active January 23, 2024 01:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save abinpaul1/b555321787b7d4b13e1706b9349f3b87 to your computer and use it in GitHub Desktop.
Save abinpaul1/b555321787b7d4b13e1706b9349f3b87 to your computer and use it in GitHub Desktop.
GSoC 2022 Chromium Project - Render-blocking status in Resource Timing API

Render-blocking status in Resource Timing API

Abin K Paul (abin.paul1@gmail.com)

Mentors

  • Yoav Weiss
  • Hao Liu

Intro

Introduce a new field renderBlockingStatus to PerformanceResourceTiming which would be an enum highlighting the render blocking nature of stylesheets and scripts. The project involved taking the feature through the Blink shipping process which includes adding changes to the Fetch and Resource Timing specifications, adding necessary Web Platform Tests and an implementation of the feature in Chromium.

Initial proposal

https://docs.google.com/document/d/1J0WlKFKxDDWCMHEXtO-vUdgJonbHRQSNDsYUBAwhguY

Feature work

Further work

Response Status Code in Resource Timing (Shipping in Chrome 109)

Adding a new field responseStatus to PerformanceResourceTiming which would be an integer corresponding to HTTP status code returned when fetching the resource.

Explainer : https://github.com/w3c/resource-timing/blob/gh-pages/Explainers/Response_Status_Code.md

Spec Changes

Chromium CLs

Content-type in Resource Timing (Work in progress)

Adding a new field contentType to PerformanceResourceTiming which would hold a string corresponding to the content type of the fetched resource.

Explainer : https://github.com/abinpaul1/resource-timing/blob/explainer-content-type/Explainers/Content-Type.md

Spec Changes

Chromium CL : https://chromium-review.googlesource.com/c/chromium/src/+/3916841

@pranay-sankar-muppanenei

i would like to contribute for this project

@Prachi0078
Copy link

Yoav Weiss and Hao Liu : hii ! i want to contribute in this project . could you please help me out how can i able to contribute in it, since you are listed as a mentors for the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment