Today I Learned

Daily reflections on work and learning—what I did and what I learned.

20267

2026-07-20

What I Learned from Public Surface, Analytics Facade, and Motion Gates

TIL summarizing structured data and visible FAQ parity, auth-resolution-gated fetch, analytics event fan-out facade, and prefers-reduced-motion JS transition gate as general concepts

  • Structured data (FAQPage, etc.) must come from the same source as visible on-screen text
  • Enable protected APIs only after session loading finishes; do not decide anonymous/fetch from !user alone during loading
2026-07-03

Perf Is a 3× Median; Prefetch Comes as a Set with Skeletons

Sorting out lab-trace outliers, SSR prefetch query-key alignment, CLS skeleton reservation, and server-injected JSON-LD in one day

  • A single dev-server Performance trace often has outliers, so before/after must be compared with the median of N reloads.
  • SSR prefetch is a cache miss if the query key differs from the client by even one character, and it must be treated as a set with skeleton-height reservation, or CLS results.