---
title: "Headless build patterns"
url: "https://developers.contentstack.com/paths/headless-build-patterns"
type: "path"
level: "intermediate"
outcome: "You can model a site in Contentstack, query it by reference and taxonomy, preview drafts in Next.js and publish without stale pages."
steps:
  - "https://developers.contentstack.com/guides/modular-blocks-references-or-global-fields"
  - "https://developers.contentstack.com/guides/modeling-navigation-in-contentstack"
  - "https://developers.contentstack.com/guides/contentstack-limits-on-one-page"
  - "https://developers.contentstack.com/guides/nested-references-empty-or-error-141"
  - "https://developers.contentstack.com/blog/taxonomies-are-your-query-layer"
  - "https://developers.contentstack.com/guides/querying-content-by-taxonomy"
  - "https://developers.contentstack.com/guides/live-preview-for-a-nextjs-rebuild"
  - "https://developers.contentstack.com/blog/revalidate-prime-or-redeploy-picking-the-right-cache-lever-on-launch"
  - "https://developers.contentstack.com/guides/webhooks-allowlisting-signatures-and-disabled-endpoints"
  - "https://developers.contentstack.com/blog/releases-bulk-publish-and-nested-reference-publishing-explained"
  - "https://developers.contentstack.com/guides/audit-your-content-model-before-a-migration"
updated: "2026-12-03T16:47:17.396Z"
---

# Headless build patterns

- **Level:** Intermediate
- **Steps:** 11
- **Full path in one document:** https://developers.contentstack.com/paths/headless-build-patterns/full.md

---

Model content, query it, preview it and keep it fresh. The patterns that decide whether a headless build stays easy to change a year in.

**You'll end up with:** You can model a site in Contentstack, query it by reference and taxonomy, preview drafts in Next.js and publish without stale pages.

## Steps

1. [Modular blocks, references or global fields?](https://developers.contentstack.com/guides/modular-blocks-references-or-global-fields) (Guide, Beginner)
   - You'll end up with: You can pick between modular blocks, references, global fields and taxonomies for a given piece of content and explain the trade-off in querying, editing, localization and publishing.
   - Checkpoint: You can say when a field should be a modular block, a reference or a global field.
2. [Modeling navigation in Contentstack](https://developers.contentstack.com/guides/modeling-navigation-in-contentstack) (Guide, Intermediate)
   - You'll end up with: Simple, drop-down and mega menu navigation models built from a reusable Link Global Field
   - Checkpoint: Your navigation is modeled once and reused by every page.
3. [Contentstack limits on one page](https://developers.contentstack.com/guides/contentstack-limits-on-one-page) (Guide, Beginner)
   - You'll end up with: You know the public Contentstack limits that affect your content model, your queries and your jobs, which of them depend on your plan, and what happens when you hit one.
   - Checkpoint: You know the reference depth, entry size and rate limits your model has to fit.
4. [Nested references come back empty, or fail with error 141](https://developers.contentstack.com/guides/nested-references-empty-or-error-141) (Guide, Intermediate)
   - You'll end up with: You can tell why a reference comes back unresolved, empty or as a 422 error, fix the include paths, publish state or depth that caused it, and model new content so it stays inside the limits.
   - Checkpoint: Your nested references resolve, and you know what error 141 means.
5. [Taxonomies are your query layer](https://developers.contentstack.com/blog/taxonomies-are-your-query-layer) (Blog post, Intermediate)
   - You'll end up with: You understand why taxonomies beat tags, select fields and reference fields for classifying content, and which facets help developers find the right page.
   - Checkpoint: You know when a taxonomy beats a reference field.
6. [Querying content by taxonomy](https://developers.contentstack.com/guides/querying-content-by-taxonomy) (Guide, Intermediate)
   - You'll end up with: You can filter entries by taxonomy terms through the Delivery API and the TypeScript Delivery SDK, and you know when to filter in the query and when to filter in memory.
   - Checkpoint: You can list entries by taxonomy term with the Delivery SDK.
7. [Live preview for a Next.js rebuild: what to check](https://developers.contentstack.com/guides/live-preview-for-a-nextjs-rebuild) (Guide, Intermediate)
   - You'll end up with: A checklist for judging any headless CMS's Next.js preview, and a clear picture of how Contentstack answers each item
   - Checkpoint: You know which preview setup fits your Next.js rendering mode.
8. [Revalidate, prime or redeploy? Cache levers on Launch](https://developers.contentstack.com/blog/revalidate-prime-or-redeploy-picking-the-right-cache-lever-on-launch) (Blog post, Intermediate)
   - You'll end up with: You can choose between revalidating, priming and redeploying for each kind of change on a Launch site.
   - Checkpoint: You can pick revalidate, prime or redeploy for a content change.
9. [Webhooks: allowlisting, signatures and disabled endpoints](https://developers.contentstack.com/guides/webhooks-allowlisting-signatures-and-disabled-endpoints) (Guide, Intermediate)
   - You'll end up with: You can get webhooks through your firewall, verify their signatures, re-enable an endpoint the circuit breaker disabled and replay the events it missed.
   - Checkpoint: Your webhook endpoint checks signatures and stays enabled.
10. [Releases, bulk publish and nested publishing explained](https://developers.contentstack.com/blog/releases-bulk-publish-and-nested-reference-publishing-explained) (Blog post, Intermediate)
   - You'll end up with: You know when to use a release, a bulk publish or nested reference publishing, and how to trigger each from the API or CLI.
   - Checkpoint: You can publish an entry and its references together with a release.
11. [Audit your content model before a migration](https://developers.contentstack.com/guides/audit-your-content-model-before-a-migration) (Guide, Intermediate)
   - You'll end up with: You have an inventory of your content model with fill rates, reference chains and term usage, a keep, merge, drop or refactor decision per content type, and a mapping sheet for the migration.
   - Checkpoint: You can audit a content model and say what to refactor before moving it.

