GitHub

eleventyNavigation
parent key excerpt

Why Eleventy?

Performance

Eleventy is known for both its lightweight core in the form of speedy builds/installs and lightweight site output in the form of speedy sites!

{% tableofcontents "open" %}

Site Performance

Eleventy allows you full control over the output. That also means that by-default we do not include any costly runtime JavaScript bundles that often hamper site performance!

{% callout "", "md" %}Have a look at our new Partial Hydration <is-land> component!{% endcallout %}

Sites listed on the Eleventy Leaderboards are tested and ranked (approximately) monthly as a fun community way to maintain speedy site performance for Eleventy sites.

{%- youtubeEmbed "b4frtsT4Cgo", "Full Control over HTML" -%} {%- youtubeEmbed "dIa2Y4zesnw", "Add your site to the Leaderboards (Weekly №6)" -%}

Looking for guidance on single page applications (SPA)?

Build Performance

Eleventy offers best-in-class build performance for JavaScript site generators.

<script src="/js/throbber.js"></script> {% renderTemplate "webc" %}{% endrenderTemplate %}

Data taken from Which Generator Builds Markdown the Fastest? (July 2022).

Performance Tips

{%- youtubeEmbed "KETQ4zS9Yp4", "28% build time performance improvement for Google’s web.dev (Weekly №1)", "30" -%} {%- youtubeEmbed "kUC87Zr0dKg", "Eleventy Build went from 54s to 17s—Pagination Memory/Performance Wins 🏆 (Weekly №10)", "344" -%} {%- youtubeEmbed "sfPNgt3joWI", "Markdown Benchmarks (Weekly №16)", "1566" -%}

Installation Performance

<script src="/js/throbber.js"></script> {% renderTemplate "webc" %}{% endrenderTemplate %}

Data taken from The JavaScript Site Generator Review, 2023 (February 2023).

Read the original on github.com ↗