Skip to content

Commit 445ea72

Browse files
tunethewebdwsmart
andauthored
Page Weight 2024 Chapter (#3979)
* correct Montserrat Cano's name * ebanle page-weight chapter * fig images * inital meta and begin conversion to markdown * Retake images * add Ines Akrap to reviewers * more coversion, up to CSS intro * more conversion to ,md, up to facade intro * first pass conversion to .md completed * Retake images * Internal links * Heading * Intl no-translated links * Dates and todos * Correct dates * Edit * Add DOI * Fix DOI reference * address majority of todo. * Retake images * Add JavaScript usage data * Update DOI * Add JavaScript usage file * adds the stats. * Correct typo in featured_stat_label_3 * Retake image * Update dates * removes links to 2024 CSS chapter, as there will not be one. * Revert unchanged dates * Linting * changes from Ines Akrap's review * correct last-updated for page-weight * Final edits * Reword fetch priority --------- Co-authored-by: Dave Smart <dave@tamethebots.com>
1 parent e4deb9b commit 445ea72

41 files changed

Lines changed: 883 additions & 16 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
WITH totals AS (
2+
SELECT
3+
date,
4+
client,
5+
is_root_page,
6+
COUNT(0) AS num_pages
7+
FROM
8+
`httparchive.crawl.pages`
9+
WHERE
10+
date = '2024-06-01'
11+
GROUP BY
12+
date,
13+
client,
14+
is_root_page
15+
)
16+
17+
SELECT
18+
date,
19+
client,
20+
is_root_page,
21+
COUNTIF(INT64(custom_metrics.other.almanac.scripts.total) > 0) AS pages_using_js,
22+
num_pages,
23+
COUNTIF(INT64(custom_metrics.other.almanac.scripts.total) > 0) / num_pages AS pct_pages_using_js
24+
FROM
25+
`httparchive.crawl.pages`
26+
INNER JOIN
27+
totals
28+
USING (date, client, is_root_page)
29+
WHERE
30+
date = '2024-06-01'
31+
GROUP BY
32+
date,
33+
client,
34+
is_root_page,
35+
num_pages
36+
ORDER BY
37+
date,
38+
client,
39+
is_root_page

src/config/2024.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@
128128
"part": "IV",
129129
"chapter_number": "16",
130130
"title": "Page Weight",
131-
"slug": "page-weight",
132-
"todo": true
131+
"slug": "page-weight"
133132
},
134133
{
135134
"part": "IV",

src/config/contributors.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,8 @@
19481948
"name": "Ines Akrap",
19491949
"teams": {
19501950
"2024": [
1951-
"authors"
1951+
"authors",
1952+
"reviewers"
19521953
]
19531954
},
19541955
"twitter": "InesAkrap",
@@ -3265,6 +3266,19 @@
32653266
"twitter": "mobeenali97",
32663267
"website": "https://siffar.com"
32673268
},
3269+
"montsec": {
3270+
"avatar_url": "3486362",
3271+
"bluesky": "montsecano.bsky.social",
3272+
"github": "montsec",
3273+
"linkedin": "montsecano-senior-digital-marketer",
3274+
"name": "Montserrat Cano",
3275+
"teams": {
3276+
"2024": [
3277+
"editors"
3278+
]
3279+
},
3280+
"website": "https://montserrat-cano.com/"
3281+
},
32683282
"mordy-oberstein": {
32693283
"avatar_url": "104999516",
32703284
"github": "mordy-oberstein",

src/config/last_updated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,8 @@
812812
"hash": "a775f6e57c5cc677411cc693529bcc13"
813813
},
814814
"en/2024/chapters/page-weight.html": {
815-
"date_published": "2024-11-11T00:00:00.000Z",
816-
"date_modified": "2024-11-16T00:00:00.000Z",
815+
"date_published": "2024-12-30T00:00:00.000Z",
816+
"date_modified": "2024-12-30T00:00:00.000Z",
817817
"hash": "c59c5f4b6983254247f24282d2e72d24"
818818
},
819819
"en/2024/chapters/performance.html": {

src/content/en/2024/page-weight.md

Lines changed: 826 additions & 11 deletions
19.8 KB
18.4 KB
19.9 KB
19 KB
19.5 KB

0 commit comments

Comments
 (0)