Skip to content

Commit

Permalink
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org…
Browse files Browse the repository at this point in the history
… into production
  • Loading branch information
tunetheweb committed Dec 30, 2024
2 parents 58026bf + 396045e commit 947c49b
Show file tree
Hide file tree
Showing 41 changed files with 884 additions and 17 deletions.
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
6 changes: 3 additions & 3 deletions src/config/last_updated.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,9 +812,9 @@
"hash": "a775f6e57c5cc677411cc693529bcc13"
},
"en/2024/chapters/page-weight.html": {
"date_published": "2024-11-11T00:00:00.000Z",
"date_modified": "2024-11-16T00:00:00.000Z",
"hash": "c59c5f4b6983254247f24282d2e72d24"
"date_published": "2024-12-30T00:00:00.000Z",
"date_modified": "2024-12-30T00:00:00.000Z",
"hash": "eeca57e801d371ab543cc3a1584d3c64"
},
"en/2024/chapters/performance.html": {
"date_published": "2024-11-11T00:00:00.000Z",
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.

0 comments on commit 947c49b

Please sign in to comment.