Skip to Content
0 likes
Critical CSS Without Shipping Your Whole Stylesheet Twice Level: Advanced

Mark the first-screen rules once, split the stylesheet in the build, and confirm the rest loads without blocking.

0 likes
Find Unused CSS Before It Bloats Production Level: Advanced

Record coverage in Chrome DevTools, test the states that hide rules, and remove dead CSS in small, reversible steps.

0 likes
Speed Up tsc With incremental and Smarter Includes Level: Advanced

Count the files tsc reads, narrow the include list and turn on incremental with a cache file. After this, you know which change made the build faster because you measured it.

0 likes
Read EXPLAIN ANALYZE in 10 Minutes Level: Advanced

Run one slow query with EXPLAIN ANALYZE and read it with a five-question checklist: rows touched, filtered rows, estimates, loops and sort spills. After this, you can find the slow node of a plan and check your fix.

0 likes
Find Slow Queries With pg_stat_statements Level: Advanced

Turn on pg_stat_statements in a Docker container and list the statements that cost the most in total. After this, you know which query to tune first, and you do not have to guess.

0 likes
Create an Index Without Blocking Writes Level: Advanced

Build an index with CREATE INDEX CONCURRENTLY while a writer is active, and handle the transaction-block error and the invalid index that a failed build leaves. After this, you can add an index to a busy table without stopping its writers.

0 likes
Partial Index for Active Rows Only Level: Advanced

Index only the rows that queries ask for, compare the size with a full index, and enforce a unique rule for active rows. After this, you know why a prepared statement can ignore a partial index, and how to avoid it.

0 likes
Index a JSONB Column With GIN Level: Advanced

Add a GIN index to a JSONB column, filter with the contains operator, and compare it with an expression index and jsonb_path_ops. After this, you can tell which JSONB filters use an index and which scan the table.

0 likes
Find Unused and Duplicate Indexes Level: Advanced

Read pg_stat_user_indexes to find indexes that were never scanned, find identical indexes in pg_index, and drop them with DROP INDEX CONCURRENTLY. After this, you can remove indexes that cost writes and give nothing back.