Skip to content

Commit b0412e3

Browse files
committed
Add FAQ front matter to four SEO posts
1 parent 02c518e commit b0412e3

4 files changed

Lines changed: 44 additions & 0 deletions

_posts/2017-02-12-base64-encoding-and-performance.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ title: "Base64 Encoding & Performance, Part 1: What’s Up with Base64?"
44
date: 2017-02-12 12:11:13
55
categories: Web Development
66
meta: "A look at the many huge disadvantages of Base64 encoding assets into your CSS"
7+
faq:
8+
- question: "What is Base64 encoding?"
9+
answer: "Base64 is a way of representing binary data as text so that assets such as images or fonts can be embedded directly inside files like CSS or HTML."
10+
- question: "Is Base64 bad for performance?"
11+
answer: "Often, yes. Embedding assets as Base64 can increase file size, weaken caching, and force unrelated resources to download together, which can make delivery less efficient."
12+
- question: "Why does Base64 make files bigger?"
13+
answer: "Base64 encoding expands binary data into a text representation, which usually increases the amount of data that has to be transferred."
14+
- question: "Should I inline images in CSS with Base64?"
15+
answer: "Usually not by default. While inlining can reduce request count, it often creates bigger, less cacheable files and can make overall performance worse."
16+
- question: "Does Gzip solve the problems with Base64?"
17+
answer: "Not completely. Compression can reduce some of the overhead, but it does not remove the underlying trade-offs around caching, coupling, and inflated transfer size."
718
---
819

920
**This is the first in a two-part post. [Read Part

_posts/2018-05-21-identifying-auditing-discussing-third-parties.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ title: "Identifying, Auditing, and Discussing Third Parties"
44
date: 2018-05-21 10:01:21
55
categories: Web Development
66
meta: "Gathering data about third-parties using free and open-source tooling"
7+
faq:
8+
- question: "How do I identify third-party scripts on my site?"
9+
answer: "A practical starting point is to inspect requests in your tooling and group them by origin so you can see which resources are being loaded from third-party domains."
10+
- question: "How do I audit third parties for performance?"
11+
answer: "You audit them by measuring what they load, how often they are requested, how much they weigh, how long they block or delay work, and what business value they provide in return."
12+
- question: "Why are third parties bad for performance?"
13+
answer: "They are not always bad, but they often introduce extra requests, extra bytes, extra execution time, and extra operational risk that your team does not fully control."
14+
- question: "How do I talk to stakeholders about third-party performance costs?"
15+
answer: "The most effective approach is to bring evidence: clear measurements, concrete trade-offs, and a business-focused explanation of what each third party is costing in speed, resilience, and user experience."
16+
- question: "Should I remove every third party?"
17+
answer: "No. The goal is not to remove everything, but to understand each dependency, justify its cost, and govern it properly."
718
---
819

920
A large part of my performance consultancy work is auditing and subsequently

_posts/2018-10-27-three-types-of-performance-testing.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ title: "The Three Types of Performance Testing"
44
date: 2018-10-27 10:02:39
55
categories: Web Development
66
meta: "How can we make it easier for businesses to understand when and what to measure?"
7+
faq:
8+
- question: "What are the three types of performance testing?"
9+
answer: "This article frames them as proactive, reactive, and passive testing: work done before problems happen, work done in response to issues, and ongoing monitoring that watches performance continuously."
10+
- question: "What is proactive performance testing?"
11+
answer: "Proactive testing is the work you do ahead of time to prevent problems, such as benchmarking, profiling, auditing, and making performance part of your development process."
12+
- question: "What is reactive performance testing?"
13+
answer: "Reactive testing happens when a problem has already appeared and you need to investigate, diagnose, and fix it."
14+
- question: "What is passive performance testing?"
15+
answer: "Passive testing is continuous measurement and monitoring in the background, often through tools that track real-world performance over time."
16+
- question: "Which type of performance testing should I start with?"
17+
answer: "You usually need all three eventually, but the right starting point depends on your situation: proactive work prevents issues, reactive work solves current ones, and passive monitoring keeps you informed over time."
718
---
819

920
A lot of companies—even if they are aware that performance is key to their

_posts/2023-12-09-correctly-configure-preconnections.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ date: 2023-12-09 19:17:04
55
categories: Web Development
66
main: "https://csswizardry.com/wp-content/uploads/2023/12/bbc-news-waterfall-initial.png"
77
meta: "We’re probably familiar with preconnect, but are we getting it right?"
8+
faq:
9+
- question: "What does preconnect do?"
10+
answer: "preconnect tells the browser to set up the connection to another origin early by performing DNS lookup, TCP connection setup, and usually TLS negotiation before the resource itself is requested."
11+
- question: "What is the difference between preconnect and dns-prefetch?"
12+
answer: "dns-prefetch only resolves the hostname. preconnect goes further by also opening the transport connection, which makes it more powerful but also more expensive."
13+
- question: "Should I preconnect to every third-party origin?"
14+
answer: "No. preconnecting to too many origins can waste resources and reduce the benefit, so it is best reserved for a small number of genuinely important, early-needed connections."
15+
- question: "When should I use crossorigin with preconnect?"
16+
answer: "You should use crossorigin when the eventual request will need a CORS-enabled connection, such as many font requests, so the warmed connection can be reused properly."
17+
- question: "Can too many preconnects hurt performance?"
18+
answer: "Yes. Because preconnect is relatively expensive, overusing it can create unnecessary work and compete with more important requests."
819
---
920

1021
A trivial performance optimisation to help speed up third-party or other-origin

0 commit comments

Comments
 (0)