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 Feb 22, 2024
2 parents 6ccb769 + c29430e commit a3a2180
Show file tree
Hide file tree
Showing 11 changed files with 401 additions and 308 deletions.
2 changes: 2 additions & 0 deletions .github/lighthouse/lighthouse-config-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
"service-worker": "off",
"speed-index": "off",
"splash-screen": "off",
"target-size": "off",
"td-has-header": "off",
"themed-omnibox": "off",
"third-party-cookies": "off",
"third-party-facades": "off",
"total-byte-weight": "off",
"unminified-css": "off",
Expand Down
2 changes: 2 additions & 0 deletions .github/lighthouse/lighthouse-config-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
"service-worker": "off",
"speed-index": "off",
"splash-screen": "off",
"target-size": "off",
"td-has-header": "off",
"themed-omnibox": "off",
"third-party-cookies": "off",
"third-party-facades": "off",
"total-byte-weight": "off",
"unminified-css": "off",
Expand Down
100 changes: 50 additions & 50 deletions src/config/last_updated.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,126 +46,126 @@
},
"/static/js/webmentions.js": {
"date_published": "2021-12-01T00:00:00.000Z",
"date_modified": "2024-02-08T00:00:00.000Z",
"hash": "32a155a8c31e83fef72aa83a218b5890"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "dbb31a967a22e06b6c1bb62d7a9ff9a0"
},
"/static/pdfs/web_almanac_2019_en.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "370c044f266d44ea595c3a761c07b48f",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "478ee72119cdebe69dccba35d8d40e53",
"size": 17
},
"/static/pdfs/web_almanac_2019_en_cover_A5.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "ebe210e0786261c482690dacea1684d3"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "9079644e09c5380e5f960f861592ee6d"
},
"/static/pdfs/web_almanac_2019_en_print_A5.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "8399cc4166764eb66587450dc912cf68",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "c53bd4f79158f065bb4f6abc142e226a",
"size": 16
},
"/static/pdfs/web_almanac_2019_ja.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "e53b50bd5e022b75dd03b9d839ab9005",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "3e9546d974fd2cdbe1b35702b5fe2f6f",
"size": 17
},
"/static/pdfs/web_almanac_2019_ja_cover_A5.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "0514026df0d5083f89f8fe03a57eaa5d"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "cd8189cb58ae15c33b35ee8d5144e4f9"
},
"/static/pdfs/web_almanac_2019_ja_print_A5.pdf": {
"date_published": "2020-05-15T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "f29f5fb99b473c0ca482a5d0162f8317",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "0d30e631eb1704e497d6f634efb465c5",
"size": 16
},
"/static/pdfs/web_almanac_2020_en.pdf": {
"date_published": "2020-12-08T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "4adb47fa4e6982a174ed2faf7dec6551",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "7dde29957cd109800c929374d6a64872",
"size": 24
},
"/static/pdfs/web_almanac_2020_en_cover_A5.pdf": {
"date_published": "2020-12-09T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "919564984b6949a388f094e3b3c736b6"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "c7be7fd88891217e965cece4d5cdaf54"
},
"/static/pdfs/web_almanac_2020_en_print_A5.pdf": {
"date_published": "2020-12-09T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "7445341afd48b2d059257ccb9d2d5af1",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "67e86808c672c93a3c6a8eadd13157a7",
"size": 24
},
"/static/pdfs/web_almanac_2020_ja.pdf": {
"date_published": "2021-10-24T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "09ccaffc177b7b9532429d62fda6b6f4",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "2bb019a821be477c597616dc8eb8ed79",
"size": 25
},
"/static/pdfs/web_almanac_2020_ja_cover_A5.pdf": {
"date_published": "2021-10-24T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "ec124b926c219247de2e2425a6586915"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "2efae9a4c0062e259fdb5d2103e31a1f"
},
"/static/pdfs/web_almanac_2020_ja_print_A5.pdf": {
"date_published": "2021-10-24T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "133ac55a98e40bef1a9a0fe2ee44eaca",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "ef19f4bfc670df6e4df7a7b3772d417a",
"size": 24
},
"/static/pdfs/web_almanac_2021_en.pdf": {
"date_published": "2021-12-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "205c8d2e97fb8d839078b874fb96a0d7",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "105d555477cdab2509790d2e328db61c",
"size": 32
},
"/static/pdfs/web_almanac_2021_en_cover_A5.pdf": {
"date_published": "2021-12-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "b0f971d669209ca7d7ea89c0de1508ce"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "cc98090d3f1979ee0dd189ffb0daa6fc"
},
"/static/pdfs/web_almanac_2021_en_print_A5.pdf": {
"date_published": "2021-12-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "241b0c8297a0a0408eaaa0d3fa111540",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "858a899ab2ac64e0e9b2b3e2ee2e66a9",
"size": 31
},
"/static/pdfs/web_almanac_2021_ja.pdf": {
"date_published": "22-08-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "c11a3a87d210f04cf50ae4858579c004",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "21c25817eb7269e3d11f039cff1b7837",
"size": 32
},
"/static/pdfs/web_almanac_2021_ja_cover_A5.pdf": {
"date_published": "22-08-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "ce90fde80c36f4851ddf7c302e021b27"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "e64046b0af245e1cdf86d3454cd17904"
},
"/static/pdfs/web_almanac_2021_ja_print_A5.pdf": {
"date_published": "22-08-01T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "1a3d05b23d132d6ec32e11b02019e878",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "e460a14c4f626456732572426e815ccf",
"size": 32
},
"/static/pdfs/web_almanac_2022_en.pdf": {
"date_published": "2022-10-19T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "70a75002e23a12911880d16c4a2dfa46",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "7bcb70b1c1af22ef859df3d4ec986698",
"size": 32
},
"/static/pdfs/web_almanac_2022_en_cover_A5.pdf": {
"date_published": "2022-10-19T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "4fa92f9b4f08a54c11889877a2e9f7fa"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "e4a9b2f2c69202b8dd04063195d677bc"
},
"/static/pdfs/web_almanac_2022_en_print_A5.pdf": {
"date_published": "2022-10-19T00:00:00.000Z",
"date_modified": "2024-01-04T00:00:00.000Z",
"hash": "49d63dcb30d287ab209483a317f1d907",
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "db76948f4d106ec5d1274ce603ed2caa",
"size": 31
},
"en/2019/chapters/accessibility.html": {
Expand Down Expand Up @@ -300,8 +300,8 @@
},
"en/2020/chapters/caching.html": {
"date_published": "2020-12-09T00:00:00.000Z",
"date_modified": "2022-04-29T00:00:00.000Z",
"hash": "35a4f06b35f235533b3a9e7b061b973e"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "cb4ef9d2539e47e5584dd3c825a2c76c"
},
"en/2020/chapters/capabilities.html": {
"date_published": "2020-11-09T00:00:00.000Z",
Expand Down Expand Up @@ -1345,8 +1345,8 @@
},
"ja/2020/chapters/caching.html": {
"date_published": "2021-05-31T00:00:00.000Z",
"date_modified": "2022-08-08T00:00:00.000Z",
"hash": "d4f1c26a243422be2bdf88e1e8afaa7b"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "74651f774208abb1a7abd381daacfd7d"
},
"ja/2020/chapters/capabilities.html": {
"date_published": "2020-12-09T00:00:00.000Z",
Expand Down Expand Up @@ -1720,8 +1720,8 @@
},
"nl/2020/chapters/caching.html": {
"date_published": "2021-05-02T00:00:00.000Z",
"date_modified": "2022-04-29T00:00:00.000Z",
"hash": "28a399b909decce3c763c68298b253af"
"date_modified": "2024-02-22T00:00:00.000Z",
"hash": "3b57bec0e61273a321a52c2937344093"
},
"nl/2020/chapters/capabilities.html": {
"date_published": "2021-01-17T00:00:00.000Z",
Expand Down
5 changes: 1 addition & 4 deletions src/content/en/2020/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ The table below details the cache TTL values for mobile requests by type:
<figure>
<table>
<thead>
<tr>
<th colspan="6" scope="col">Cache TTL percentiles (in hours)</th>
</tr>
<tr>
<th scope="col">Type</th>
<th scope="col">10</th>
Expand Down Expand Up @@ -789,7 +786,7 @@ The table below details the cache TTL values for mobile requests by type:
</tr>
</tbody>
</table>
<figcaption>{{ figure_link(caption="Mobile cache TTL percentiles by resource type.", sheets_gid="676954337", sql_file="ttl_by_resource.sql") }}</figcaption>
<figcaption>{{ figure_link(caption="Mobile cache TTL hours by percentiles and resource type.", sheets_gid="676954337", sql_file="ttl_by_resource.sql") }}</figcaption>
</figure>

While most of the median TTLs are high, the lower percentiles highlight some of the missed caching opportunities. For example, the median TTL for images is 720 hours (1 month); however the 25<sup>th</sup> percentile is just 168 hours (1 week) and the 10<sup>th</sup> percentile has dropped to just a few hours. Compare this with fonts, which have a very high TTL of 8,760 hours (1 year) all the way down to the 25<sup>th</sup> percentile, with even the 10<sup>th</sup> percentile showing a TTL of 1 month.
Expand Down
3 changes: 0 additions & 3 deletions src/content/ja/2020/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ HTTPレスポンスの43.4%がVaryヘッダーを使用しており、その
<figure>
<table>
<thead>
<tr>
<th colspan="6" scope="col">キャッシュのTTLパーセンタイル(単位:時間)</th>
</tr>
<tr>
<th scope="col">タイプ</th>
<th scope="col">10</th>
Expand Down
5 changes: 1 addition & 4 deletions src/content/nl/2020/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ In de onderstaande tabel worden de cache-TTL-waarden voor mobiele verzoeken per
<figure>
<table>
<thead>
<tr>
<th colspan="6" scope="col">TTL-percentielen in cache (in uren)</th>
</tr>
<tr>
<th scope="col">Type</th>
<th scope="col">10</th>
Expand Down Expand Up @@ -789,7 +786,7 @@ In de onderstaande tabel worden de cache-TTL-waarden voor mobiele verzoeken per
</tr>
</tbody>
</table>
<figcaption>{{ figure_link(caption="TTL-percentielen voor mobiele cache per brontype.", sheets_gid="676954337", sql_file="ttl_by_resource.sql") }}</figcaption>
<figcaption>{{ figure_link(caption="TTL in uren voor mobiele cache per percentielen en brontype.", sheets_gid="676954337", sql_file="ttl_by_resource.sql") }}</figcaption>
</figure>

Hoewel de meeste mediane TTL's hoog zijn, benadrukken de lagere percentielen enkele van de gemiste cachemogelijkheden. De mediane TTL voor afbeeldingen is bijvoorbeeld 720 uur (1 maand); het 25<sup>e</sup> percentiel is echter slechts 168 uur (1 week) en het 10<sup>de</sup> percentiel is gedaald tot slechts een paar uur. Vergelijk dit met lettertypen, die een zeer hoge TTL hebben van 8.760 uur (1 jaar) helemaal tot aan het 25<sup>e</sup> percentiel, waarbij zelfs het 10<sup>de</sup> percentiel een TTL van 1 maand laat zien.
Expand Down

0 comments on commit a3a2180

Please sign in to comment.