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

Page Weight 2024 Chapter #3979

Merged
merged 40 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ed6b58e
correct Montserrat Cano's name
dwsmart Dec 23, 2024
131d14f
ebanle page-weight chapter
dwsmart Dec 23, 2024
88a1881
fig images
dwsmart Dec 24, 2024
8d71901
inital meta and begin conversion to markdown
dwsmart Dec 24, 2024
04f046c
Retake images
tunetheweb Dec 24, 2024
55564a7
add Ines Akrap to reviewers
dwsmart Dec 24, 2024
8b2613d
more coversion, up to CSS intro
dwsmart Dec 24, 2024
63a7cb2
Merge branch 'page-weight-2024' of https://github.com/dwsmart/almanac…
dwsmart Dec 24, 2024
96b5c06
more conversion to ,md, up to facade intro
dwsmart Dec 24, 2024
f4c09ac
first pass conversion to .md completed
dwsmart Dec 26, 2024
8e82a1d
Retake images
tunetheweb Dec 26, 2024
edb45d6
Internal links
tunetheweb Dec 26, 2024
478f8b1
Heading
tunetheweb Dec 26, 2024
4d335ad
Intl no-translated links
tunetheweb Dec 26, 2024
0be1a2e
Dates and todos
tunetheweb Dec 26, 2024
6635a1b
Merge remote-tracking branch 'upstream/main' into page-weight-2024
tunetheweb Dec 26, 2024
d1b3fda
Correct dates
tunetheweb Dec 26, 2024
03ebf95
Edit
tunetheweb Dec 26, 2024
be1c488
Add DOI
tunetheweb Dec 26, 2024
d8ed38a
Fix DOI reference
tunetheweb Dec 26, 2024
ae8fc0e
address majority of todo.
dwsmart Dec 26, 2024
128f706
Retake images
tunetheweb Dec 26, 2024
853b352
Add JavaScript usage data
tunetheweb Dec 27, 2024
4c88bb1
Update DOI
tunetheweb Dec 27, 2024
e0defab
Add JavaScript usage file
tunetheweb Dec 27, 2024
91e8367
adds the stats.
dwsmart Dec 27, 2024
eaf5977
Correct typo in featured_stat_label_3
dwsmart Dec 27, 2024
c8f8cd4
Retake image
tunetheweb Dec 28, 2024
a97bd14
Update dates
tunetheweb Dec 28, 2024
aecef1a
Merge remote-tracking branch 'upstream/main' into page-weight-2024
tunetheweb Dec 28, 2024
0bba0b2
removes links to 2024 CSS chapter, as there will not be one.
dwsmart Dec 29, 2024
aa12406
Merge remote-tracking branch 'upstream/main' into page-weight-2024
tunetheweb Dec 29, 2024
21436be
Merge branch 'page-weight-2024' of github.com:dwsmart/almanac.httparc…
tunetheweb Dec 29, 2024
4de3e87
Revert unchanged dates
tunetheweb Dec 29, 2024
fa3f856
Linting
tunetheweb Dec 29, 2024
010b529
Merge remote-tracking branch 'upstream/main' into page-weight-2024
tunetheweb Dec 29, 2024
1a32a91
changes from Ines Akrap's review
dwsmart Dec 30, 2024
5942bb9
correct last-updated for page-weight
dwsmart Dec 30, 2024
4ca67ae
Final edits
tunetheweb Dec 30, 2024
2ac4167
Reword fetch priority
tunetheweb Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions sql/2024/page-weight/pages_using_javascript.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
WITH totals AS (
SELECT
date,
client,
is_root_page,
COUNT(0) AS num_pages
FROM
`httparchive.crawl.pages`
WHERE
date = '2024-06-01'
GROUP BY
date,
client,
is_root_page
)

SELECT
date,
client,
is_root_page,
COUNTIF(INT64(custom_metrics.other.almanac.scripts.total) > 0) AS pages_using_js,
num_pages,
COUNTIF(INT64(custom_metrics.other.almanac.scripts.total) > 0) / num_pages AS pct_pages_using_js
FROM
`httparchive.crawl.pages`
INNER JOIN
totals
USING (date, client, is_root_page)
WHERE
date = '2024-06-01'
GROUP BY
date,
client,
is_root_page,
num_pages
ORDER BY
date,
client,
is_root_page
3 changes: 1 addition & 2 deletions src/config/2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@
"part": "IV",
"chapter_number": "16",
"title": "Page Weight",
"slug": "page-weight",
"todo": true
"slug": "page-weight"
},
{
"part": "IV",
Expand Down
16 changes: 15 additions & 1 deletion src/config/contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,8 @@
"name": "Ines Akrap",
"teams": {
"2024": [
"authors"
"authors",
"reviewers"
]
},
"twitter": "InesAkrap",
Expand Down Expand Up @@ -3265,6 +3266,19 @@
"twitter": "mobeenali97",
"website": "https://siffar.com"
},
"montsec": {
"avatar_url": "3486362",
"bluesky": "montsecano.bsky.social",
"github": "montsec",
"linkedin": "montsecano-senior-digital-marketer",
"name": "Montserrat Cano",
"teams": {
"2024": [
"editors"
]
},
"website": "https://montserrat-cano.com/"
},
"mordy-oberstein": {
"avatar_url": "104999516",
"github": "mordy-oberstein",
Expand Down
4 changes: 2 additions & 2 deletions src/config/last_updated.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@
"hash": "a775f6e57c5cc677411cc693529bcc13"
},
"en/2024/chapters/page-weight.html": {
"date_published": "2024-11-11T00:00:00.000Z",
"date_modified": "2024-11-16T00:00:00.000Z",
"date_published": "2024-12-30T00:00:00.000Z",
"date_modified": "2024-12-30T00:00:00.000Z",
"hash": "c59c5f4b6983254247f24282d2e72d24"
},
"en/2024/chapters/performance.html": {
Expand Down
837 changes: 826 additions & 11 deletions src/content/en/2024/page-weight.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.