Skip to content

Commit 83013cf

Browse files
committed
Add cross-sells to Learn articles
1 parent ffd6e22 commit 83013cf

7 files changed

Lines changed: 26 additions & 0 deletions

_posts/2019-08-08-time-to-first-byte-what-it-is-and-why-it-matters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ the Server Timing
182182
API](https://medium.com/bbc-design-engineering/server-timing-in-the-wild-bfb34816322e)
183183
during our time optimising iPlayer.
184184

185+
{% include cross-sell.html %}
186+
185187
It’s vital that we understand just what TTFB can cover, and just how critical it
186188
can be to overall performance. TTFB has knock-on effects, which can be a good
187189
thing or a bad thing depending on whether it’s starting off low or high.

_posts/2021-02-26-measuring-network-performance-in-mobile-safari.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ to be faster and are found in ‘faster regions’.
7676
<figcaption>Same page, same connection speed, same locale, same release year, different devices.</figcaption>
7777
</figure>
7878

79+
{% include cross-sell.html %}
80+
7981
## <q>But, Can’t I Just Emulate?</q>
8082

8183
No.
@@ -235,6 +237,8 @@ testing, I’m running a workshop with Smashing Magazine real soon, and that wil
235237
make you DevTools experts. You can still [grab
236238
tickets](https://smashingconf.com/online-workshops/workshops/harry-roberts).</small>
237239

240+
{% include cross-sell.html %}
241+
238242
## Why Bother?
239243

240244
With iOS generally being faster, and Vitals being entirely Chrome centric, and

_posts/2023-07-01-in-defence-of-domcontentloaded.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ impact the user experience in other ways, even if not directly.
7878

7979
This is particularly true in the case of `DOMContentLoaded`.
8080

81+
{% include cross-sell.html %}
82+
8183
## What Does It Actually Mean?
8284

8385
**[The `DOMContentLoaded`
@@ -380,6 +382,8 @@ suitable), then we do actually have some visibility on app state and
380382
availability. If you are using `defer` or `type=module`, then `DOMContentLoaded`
381383
might be more useful to you than you realise.
382384

385+
{% include cross-sell.html %}
386+
383387
## Back to Work
384388

385389
I mentioned previously that the `DOMContentLoaded` event fires once all

_posts/2023-10-17-the-three-c-concatenate-compress-cache.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ As I said before, we have a few more things to juggle all at once here. We need
154154
to learn a little bit more about the rest of our setup before we can make
155155
a final decision about our concatenation strategy.
156156

157+
{% include cross-sell.html %}
158+
157159
## 🗜️ Compress
158160

159161
The above tests were run with Brotli compression[^2]. What happens when we
@@ -366,6 +368,8 @@ and less about how it’s bundled.
366368
that isn’t a typo) which takes less than 10ms to compile on a mid-tier
367369
mobile device.</small>
368370

371+
{% include cross-sell.html %}
372+
369373
## My Advice
370374

371375
* Ship as little as you can get away with in the first place.

_posts/2024-09-13-optimising-for-high-latency-environments.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ default, eliminating the need to perform connection and TLS back-to-back. It can
447447
also provide genuine seamless connection migration as devices traverse the
448448
internet.
449449

450+
{% include cross-sell.html %}
451+
450452
## Avoid Incurring Latency
451453

452454
Alright! They were all fairly opportunistic upgrades, but what happens if a) you
@@ -729,6 +731,8 @@ origin-wide policy (which is a feature, not a bug).
729731
Any latency that can’t be avoided, take the hit once and deal with it.
730732
Subsequent occurrences should be mooted by virtue of being cached.
731733

734+
{% include cross-sell.html %}
735+
732736
## So, What Are My Options?
733737

734738
You have lots of options, but do remember that I just spent almost 5,000 words

_posts/2026-04-02-what-is-css-containment-and-how-can-i-use-it.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ containment—we don’t really need to give it much more attention than that.
117117

118118
Let’s go through each of these in turn.
119119

120+
{% include cross-sell.html %}
121+
120122
## Layout Containment
121123

122124
`contain: layout` tells the browser that the internal layout of the
@@ -617,6 +619,8 @@ Containment usually does **not** belong on:
617619
* elements whose whole purpose is to extend beyond their own bounds
618620
visually.
619621

622+
{% include cross-sell.html %}
623+
620624
## Closing Thoughts
621625

622626
CSS containment is a feature that can yield massive benefit when well deployed.

_posts/2026-05-07-better-browser-caching-with-no-vary-search.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ That is the crucial thing to understand: `No-Vary-Search` is not changing the
128128
URL, and it is not rewriting requests. It is changing how cache matching treats
129129
the differing query string.
130130

131+
{% include cross-sell.html %}
132+
131133
## `No-Vary-Search` Syntaxes
132134

133135
The header has a few useful, different forms.
@@ -338,6 +340,8 @@ experimental feature and support is not yet universal, so I would treat it as
338340
a progressive enhancement rather than a foundational part of your caching
339341
strategy. That’s exactly what I’ve done with my site for now.
340342

343+
{% include cross-sell.html %}
344+
341345
## A Nice Fit for Messy Real-World URLs
342346

343347
What I like about `No-Vary-Search` is that it acknowledges how the web actually

0 commit comments

Comments
 (0)