Skip to content

Commit 216339b

Browse files
committed
SEO-facing tweaks for Critical CSS piece
1 parent da204f2 commit 216339b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

_posts/2022-09-06-critical-css-not-so-fast.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ title: "Critical CSS? Not So Fast!"
44
date: 2022-09-06 16:00:00
55
categories: Web Development
66
main: "https://res.cloudinary.com/csswizardry/image/fetch/f_auto,q_auto/https://csswizardry.com/wp-content/uploads/2022/09/critical-filmstrip-03.png"
7-
meta: "How helpful is Critical CSS?"
7+
meta: "Critical CSS promises faster loading, but is it worth the complexity? Learn when Critical CSS actually boosts performance or when it might slow you down."
8+
faq:
9+
- question: "Is Critical CSS worth implementing?"
10+
answer: "Critical CSS can improve site speed, but only if CSS is genuinely your biggest performance bottleneck and it is maintained properly. Otherwise, the complexity may not justify the performance gains."
811
---
912

1013
I have long held very strong opinions about the Critical CSS pattern. In theory,
@@ -33,7 +36,7 @@ consider before we get started with it. It _is_ worth doing if:
3336
* **you load the non-Critical CSS sensibly;**
3437
* current methods can be no better than just leaving your CSS as-is.
3538

36-
## Critical CSS Is Difficult to Implement
39+
## Challenges of Implementing Critical CSS
3740

3841
…particularly when we talk about retrofitting it. Reliably extracting the
3942
relevant ‘critical’ styles is based, first and foremost, on some brittle
@@ -52,7 +55,7 @@ any faster.
5255

5356
Let’s look at the performance implications of getting Critical CSS right.
5457

55-
## Ensure CSS Is Your Biggest Bottleneck
58+
## Identifying CSS as Your Performance Bottleneck
5659

5760
Critical CSS only helps if CSS is your biggest render-blocking bottleneck, and
5861
quite often, it isn’t. In my opinion, there is often a large over-focus on CSS

0 commit comments

Comments
 (0)