Headless build patterns
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.
- Step 1: GuideLevel: Beginner
Modular blocks, references or global fields?
A decision guide for Contentstack content models. When to use modular blocks, references, global fields or taxonomies, with worked examples.
Checkpoint: You can say when a field should be a modular block, a reference or a global field.
- Step 2: GuideLevel: Intermediate
Modeling navigation in Contentstack
Checkpoint: Your navigation is modeled once and reused by every page.
- Step 3: GuideLevel: Beginner
Contentstack limits on one page
Every public Contentstack limit in one place, from API rate limits and reference depth to fields, taxonomy, assets, webhooks, Launch and the CLI.
Checkpoint: You know the reference depth, entry size and rate limits your model has to fit.
- Step 4: GuideLevel: Intermediate
Nested references come back empty, or fail with error 141
Why referenced entries come back as bare UIDs, empty arrays or a 422 with error_code 141 from the Content Delivery API, and how to fix each cause.
Checkpoint: Your nested references resolve, and you know what error 141 means.
- Step 5: BlogLevel: Intermediate
Taxonomies are your query layer
How developers.contentstack.com rebuilt its learning content on four taxonomies, learning paths and agent-ready markdown, and why intent and level matter most.
Checkpoint: You know when a taxonomy beats a reference field.
- Step 6: GuideLevel: Intermediate
Querying content by taxonomy
Filter entries by taxonomy terms with the Content Delivery API and the TypeScript Delivery SDK, from a single term to hierarchies and cross-type queries.
Checkpoint: You can list entries by taxonomy term with the Delivery SDK.
- Step 7: GuideLevel: Intermediate
Live preview for a Next.js rebuild: what to check
What to check in a headless CMS's preview story before a Next.js rebuild, and how Contentstack Live Preview and Visual Editor handle each point.
Checkpoint: You know which preview setup fits your Next.js rendering mode.
- Step 8: BlogLevel: Intermediate
Revalidate, prime or redeploy? Cache levers on Launch
Launch gives you three ways to get fresh pages to visitors. Here is what each one costs, when to use it, and a decision flow for picking one.
Checkpoint: You can pick revalidate, prime or redeploy for a content change.
- Step 9: GuideLevel: Intermediate
Webhooks: allowlisting, signatures and disabled endpoints
Fix Contentstack webhooks that get blocked, fail signature checks, arrive late or get disabled as unhealthy, with a TypeScript receiver that checks signatures.
Checkpoint: Your webhook endpoint checks signatures and stays enabled.
- Step 10: BlogLevel: Intermediate
Releases, bulk publish and nested publishing explained
Three ways to get many entries live together in Contentstack, what each one is for, and the API and CLI calls behind them.
Checkpoint: You can publish an entry and its references together with a release.
- Step 11: GuideLevel: Intermediate
Audit your content model before a migration
Audit content types, fields, references, taxonomies and locales before a CMS migration, with a Node script for the Contentstack Management API.
Checkpoint: You can audit a content model and say what to refactor before moving it.
Path complete
Browse all learning paths