May 04, 2026 · 5 min read
A step-by-step approach to identifying orphaned schemas, measuring Studio bundle impact, and safely removing dead document types without breaking production.
May 02, 2026 · 5 min read
A pattern for projecting only the fields your Next.js components actually render, using GROQ coalesce and select operators to prune unused blocks.
May 01, 2026 · 5 min read
A pattern for structuring Sanity references and GROQ projections that eliminates query waterfalls in server components, cutting fetch latency by 200–400 ms.
Apr 29, 2026 · 5 min read
A production pattern for serving low-quality image placeholders from Sanity's metadata API without embedding Base64 strings in HTML or shipping extra dependencies.
Apr 28, 2026 · 5 min read
A singleton pattern for i18n navigation that keeps GROQ queries fast and avoids embedding nav arrays in every document fetch.
Apr 27, 2026 · 5 min read
Denormalising references and embedding common fields in Sanity schemas cuts server component render time by 40–60%. Here's the pattern I ship.
Apr 27, 2026 · 5 min read
Combining Next.js Partial Prerendering, edge runtime, and selective Sanity queries to hit sub-200ms TTFB on content-heavy pages without stale data.
Apr 27, 2026 · 5 min read
Portable Text blocks can bloat client bundles. Here's how I defer serializers with dynamic imports and RSC boundaries to keep marketing pages under 80 kB.