Skip to content

Commit 09fa3a8

Browse files
authored
site: add image dimensions for approach page images (#459)
1 parent 547c3d6 commit 09fa3a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/src/approach.njk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ sections:
1717

1818
## How it works
1919

20-
![](/assets/images/graphs/what-is-prefetch-svgomg.svg)
20+
{% endmarkdownConvert %}
21+
<img class="article-image" src="/assets/images/graphs/what-is-prefetch-svgomg.svg" width="932" height="535" alt="Image shows how prefetching improves page load speed by fetching resources in advance">
22+
{% markdownConvert %}
2123

2224
Quicklink attempts to make navigations to subsequent pages load faster. It:
2325

@@ -26,7 +28,9 @@ Quicklink attempts to make navigations to subsequent pages load faster. It:
2628
* **Checks if the user isn't on a slow connection** (using `navigator.connection.effectiveType`) or has data-saver enabled (using `navigator.connection.saveData`)
2729
* **Prefetches URLs to the links** (using [`<link rel=prefetch>`](https://www.w3.org/TR/resource-hints/#prefetch) or XHR). Provides some control over the request priority (can switch to `fetch()` if supported).
2830

29-
![](/assets/images/graphs/prefetch-quicklink-svgomg.svg)
31+
{% endmarkdownConvert %}
32+
<img loading="lazy" class="article-image" src="/assets/images/graphs/prefetch-quicklink-svgomg.svg" width="932" height="397" alt="Image shows page load times comparison with and without Quicklink prefetching, showing faster performance when prefetch is enabled">
33+
{% markdownConvert %}
3034

3135
## Future: Double-keyed HTTP Cache
3236

0 commit comments

Comments
 (0)