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

Update datestamps and generate chapters #966

Merged
merged 1 commit into from
Jul 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/content/en/2019/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1771
results: https://docs.google.com/spreadsheets/d/1mnq03DqrRBwxfDV05uEFETK0_hPbYOynWxZkV3tFgNk/
queries: 16_Caching
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-06-30T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1770
results: https://docs.google.com/spreadsheets/d/1IK9kaScQr_sJUwZnWMiJcmHEYJV292C9DwCfXH6a50o/
queries: 15_Compression
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-06-30T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1757
results: https://docs.google.com/spreadsheets/d/1uFlkuSRetjBNEhGKWpkrXo4eEIsgYelxY-qR9Pd7QpM/
queries: 02_CSS
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-05-14T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1759
results: https://docs.google.com/spreadsheets/d/1hj9bY6JJZfV9yrXHsoCRYuG8t8bR-CHuuD98zXV7BBQ/
queries: 04_Media
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-05-19T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/es/2019/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1757
results: https://docs.google.com/spreadsheets/d/1uFlkuSRetjBNEhGKWpkrXo4eEIsgYelxY-qR9Pd7QpM/
queries: 02_CSS
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-03-01T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introducción
Expand Down
2 changes: 1 addition & 1 deletion src/content/fr/2019/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1771
results: https://docs.google.com/spreadsheets/d/1mnq03DqrRBwxfDV05uEFETK0_hPbYOynWxZkV3tFgNk/
queries: 16_Caching
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-06-30T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/ja/2019/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1771
results: https://docs.google.com/spreadsheets/d/1mnq03DqrRBwxfDV05uEFETK0_hPbYOynWxZkV3tFgNk/
queries: 16_Caching
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-06-30T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## 導入
Expand Down
2 changes: 1 addition & 1 deletion src/content/ja/2019/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1770
results: https://docs.google.com/spreadsheets/d/1IK9kaScQr_sJUwZnWMiJcmHEYJV292C9DwCfXH6a50o/
queries: 15_Compression
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-06-30T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## 序章
Expand Down
2 changes: 1 addition & 1 deletion src/content/ja/2019/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1757
results: https://docs.google.com/spreadsheets/d/1uFlkuSRetjBNEhGKWpkrXo4eEIsgYelxY-qR9Pd7QpM/
queries: 02_CSS
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-03-02T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## 導入
Expand Down
2 changes: 1 addition & 1 deletion src/content/ja/2019/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discuss: 1759
results: https://docs.google.com/spreadsheets/d/1hj9bY6JJZfV9yrXHsoCRYuG8t8bR-CHuuD98zXV7BBQ/
queries: 04_Media
published: 2019-11-11T00:00:00.000Z
last_updated: 2020-05-19T00:00:00.000Z
last_updated: 2020-07-06T00:00:00.000Z
---

## 序章
Expand Down
2 changes: 1 addition & 1 deletion src/templates/base/2019/accessibility_statement.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="/static/css/page.css?v=20200705150551">
<link rel="stylesheet" href="/static/css/page.css?v=20200706002105">
{% endblock %}

{# Don't need year switcher for this template so blank it out #}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/base/2019/base_chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="/static/css/page.css?v=20200705150551">
<link rel="stylesheet" href="/static/css/page.css?v=20200706002105">
{% endblock %}

{% block scripts %}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/base/2019/base_ebook.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="/static/css/page.css?v=20200705150551" />
<link rel="stylesheet" href="/static/css/page.css?v=20200706002105" />
<link rel="stylesheet" href="/static/css/ebook.css?v=20200630133215" />

<style>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/base/2019/methodology.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="/static/css/page.css?v=20200705150551">
<link rel="stylesheet" href="/static/css/page.css?v=20200706002105">
{% endblock %}

{% block main %}
Expand Down
148 changes: 74 additions & 74 deletions src/templates/en/2019/chapters/caching.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"IV","chapter_number":16,"title":"Caching","description":"Caching chapter of the 2019 Web Almanac covering cache-control, expires, TTLs, validitaty, vary, set-cookies, AppCache, Service Workers and opportunities.","authors":["paulcalvano"],"reviewers":["obto","bkardell"],"translators":null,"discuss":"1771","results":"https://docs.google.com/spreadsheets/d/1mnq03DqrRBwxfDV05uEFETK0_hPbYOynWxZkV3tFgNk/","queries":"16_Caching","published":"2019-11-11T00:00:00.000Z","last_updated":"2020-06-30T00:00:00.000Z","chapter":"caching"} %} {% block index %}
{% set metadata = {"part_number":"IV","chapter_number":16,"title":"Caching","description":"Caching chapter of the 2019 Web Almanac covering cache-control, expires, TTLs, validitaty, vary, set-cookies, AppCache, Service Workers and opportunities.","authors":["paulcalvano"],"reviewers":["obto","bkardell"],"translators":null,"discuss":"1771","results":"https://docs.google.com/spreadsheets/d/1mnq03DqrRBwxfDV05uEFETK0_hPbYOynWxZkV3tFgNk/","queries":"16_Caching","published":"2019-11-11T00:00:00.000Z","last_updated":"2020-07-06T00:00:00.000Z","chapter":"caching"} %} {% block index %}
<ul>
<li>
<a href="#introduction">Introduction</a>
Expand Down Expand Up @@ -178,83 +178,83 @@ <h2 id="what-type-of-content-are-we-caching"><a href="#what-type-of-content-are-
<tbody>
<tr>
<th scope="row">Audio</th>
<td><p style="text-align: right">12</p></td>
<td><p style="text-align: right">24</p></td>
<td><p style="text-align: right">720</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,760</p></td>
<td class="numeric">12</td>
<td class="numeric">24</td>
<td class="numeric">720</td>
<td class="numeric">8,760</td>
<td class="numeric">8,760</td>
</tr>
<tr>
<th scope="row">CSS</th>
<td><p style="text-align: right">720</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,760</p></td>
<td class="numeric">720</td>
<td class="numeric">8,760</td>
<td class="numeric">8,760</td>
<td class="numeric">8,760</td>
<td class="numeric">8,760</td>
</tr>
<tr>
<th scope="row">Font</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">3</p></td>
<td><p style="text-align: right">336</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">87,600</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">3</td>
<td class="numeric">336</td>
<td class="numeric">8,760</td>
<td class="numeric">87,600</td>
</tr>
<tr>
<th scope="row">HTML</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">168</p></td>
<td><p style="text-align: right">720</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,766</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">168</td>
<td class="numeric">720</td>
<td class="numeric">8,760</td>
<td class="numeric">8,766</td>
</tr>
<tr>
<th scope="row">Image</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">1</p></td>
<td><p style="text-align: right">28</p></td>
<td><p style="text-align: right">48</p></td>
<td><p style="text-align: right">8,760</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">1</td>
<td class="numeric">28</td>
<td class="numeric">48</td>
<td class="numeric">8,760</td>
</tr>
<tr>
<th scope="row">Other</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">2</p></td>
<td><p style="text-align: right">336</p></td>
<td><p style="text-align: right">8,760</p></td>
<td><p style="text-align: right">8,760</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">2</td>
<td class="numeric">336</td>
<td class="numeric">8,760</td>
<td class="numeric">8,760</td>
</tr>
<tr>
<th scope="row">Script</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">1</p></td>
<td><p style="text-align: right">6</p></td>
<td><p style="text-align: right">720</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">&lt; 1</td>
<td class="numeric">1</td>
<td class="numeric">6</td>
<td class="numeric">720</td>
</tr>
<tr>
<th scope="row">Text</th>
<td><p style="text-align: right">21</p></td>
<td><p style="text-align: right">336</p></td>
<td><p style="text-align: right">7,902</p></td>
<td><p style="text-align: right">8,357</p></td>
<td><p style="text-align: right">8,740</p></td>
<td class="numeric">21</td>
<td class="numeric">336</td>
<td class="numeric">7,902</td>
<td class="numeric">8,357</td>
<td class="numeric">8,740</td>
</tr>
<tr>
<th scope="row">Video</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">4</p></td>
<td><p style="text-align: right">24</p></td>
<td><p style="text-align: right">24</p></td>
<td><p style="text-align: right">336</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">4</td>
<td class="numeric">24</td>
<td class="numeric">24</td>
<td class="numeric">336</td>
</tr>
<tr>
<th scope="row">XML</th>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">&lt; 1</p></td>
<td><p style="text-align: right">&lt; 1</p></td>
<td class="numeric">&lt; 1</td>
<td class="numeric">&lt; 1</td>
<td class="numeric">&lt; 1</td>
<td class="numeric">&lt; 1</td>
<td class="numeric">&lt; 1</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -431,15 +431,15 @@ <h2 id="how-do-cache-ttls-compare-to-resource-age"><a href="#how-do-cache-ttls-c
</tr>
<tr>
<td>Desktop</td>
<td><p style="text-align: right">70.7%</p></td>
<td><p style="text-align: right">47.9%</p></td>
<td><p style="text-align: right">59.2%</p></td>
<td class="numeric">70.7%</td>
<td class="numeric">47.9%</td>
<td class="numeric">59.2%</td>
</tr>
<tr>
<td>Mobile</td>
<td><p style="text-align: right">71.4%</p></td>
<td><p style="text-align: right">46.8%</p></td>
<td><p style="text-align: right">59.6%</p></td>
<td class="numeric">71.4%</td>
<td class="numeric">46.8%</td>
<td class="numeric">59.6%</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -585,21 +585,21 @@ <h2 id="appcache-and-service-workers"><a href="#appcache-and-service-workers" cl
<tbody>
<tr>
<td>Does Not Use AppCache</td>
<td><p style="text-align: right">5,045,337</p></td>
<td><p style="text-align: right">32,241</p></td>
<td><p style="text-align: right">5,077,578</p></td>
<td class="numeric">5,045,337</td>
<td class="numeric">32,241</td>
<td class="numeric">5,077,578</td>
</tr>
<tr>
<td>Uses AppCache</td>
<td><p style="text-align: right">1,816</p></td>
<td><p style="text-align: right">51</p></td>
<td><p style="text-align: right">1,867</p></td>
<td class="numeric">1,816</td>
<td class="numeric">51</td>
<td class="numeric">1,867</td>
</tr>
<tr>
<td>Total</td>
<td><p style="text-align: right">5,047,153</p></td>
<td><p style="text-align: right">32,292</p></td>
<td><p style="text-align: right">5,079,445</p></td>
<td class="numeric">5,047,153</td>
<td class="numeric">32,292</td>
<td class="numeric">5,079,445</td>
</tr>
</tbody>
</table>
Expand All @@ -624,24 +624,24 @@ <h2 id="appcache-and-service-workers"><a href="#appcache-and-service-workers" cl
<tr>
<th scope="rowgroup" rowspan="2">HTTP</th>
<td>Does Not Use AppCache</td>
<td><p style="text-align: right">1,968,736</p></td>
<td><p style="text-align: right">907</p></td>
<td class="numeric">1,968,736</td>
<td class="numeric">907</td>
</tr>
<tr>
<td>Uses AppCache</td>
<td><p style="text-align: right">580</p></td>
<td><p style="text-align: right">1</p></td>
<td class="numeric">580</td>
<td class="numeric">1</td>
</tr>
<tr>
<th scope="rowgroup" rowspan="2">HTTPS</th>
<td>Does Not Use AppCache</td>
<td><p style="text-align: right">3,076,601</p></td>
<td><p style="text-align: right">31,334</p></td>
<td class="numeric">3,076,601</td>
<td class="numeric">31,334</td>
</tr>
<tr>
<td>Uses AppCache</td>
<td><p style="text-align: right">1,236</p></td>
<td><p style="text-align: right">50</p></td>
<td class="numeric">1,236</td>
<td class="numeric">50</td>
</tr>
</tbody>
</table>
Expand Down
Loading