Leveraging Eleventy’s Data Cascade to Build Scalable Static Sites
Cut duplication and keep data consistent across a static site by using Eleventy’s Data Cascade, with a concrete example and verification steps.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Cut duplication and keep data consistent across a static site by using Eleventy’s Data Cascade, with a concrete example and verification steps.
Eleventy serve not watching template or data changes? The problem is usually configuration (watch targets or ignores), not the tool itself. Follow these diagnostics to fix stale builds.
A step‑by‑step guide to spot whether big _data files or many template includes are slowing your Eleventy site, with checks, fixes, and when to escalate.
A diagnostic guide for when Eleventy global data files in _data don't appear in templates—covering recognizable symptoms, a cause table, ordered checks, targeted fixes, and escalation steps.
Eleventy’s data cascade lets you merge global, directory, front‑matter, and computed data in a predictable order. Learn how to expose environment flags, set section defaults, and build derived values without custom scripts.
Learn how to diagnose and fix missing or overridden variables in Eleventy by tracing the Data Cascade from global _data to template front matter.
Eleventy's data cascade lets you define configuration once at the global level, override per directory, and fine-tune per template—without custom plugins. Here's how the four layers merge, where arrays replace instead of concatenate, and how to debug with --dry-run --output=json.
Decide whether to use Eleventy’s built‑in Navigation Plugin or build navigation yourself. Compare constraints, trade‑offs, and see a step‑by‑step example that verifies the result.
Eleventy’s data cascade automatically merges JSON, YAML, and JavaScript data files from a page’s directory and all ancestor directories. This blog walks through the cascade, shows a concrete example of inheriting navigation and author data, and discusses trade‑offs like build‑time evaluation.