A Django Wagtail extension that generates static flat files from your CMS content for improved performance and hosting flexibility.
Wagtail-bakery is a Django extension for the Wagtail CMS that generates static HTML files from dynamic content. It solves the problem of slow page loads and high server costs by pre-rendering Wagtail pages into flat files that can be served from static hosting services like Netlify or S3. This approach improves site performance, reduces database queries, and simplifies deployment.
Django developers using Wagtail CMS who need to improve site performance, reduce hosting costs, or deploy to static hosting environments. It's particularly useful for content-heavy sites where read speed is critical.
Developers choose Wagtail-bakery because it seamlessly integrates with Wagtail's existing workflow while providing the benefits of static site generation. Unlike generic static site generators, it understands Wagtail's page structure, supports multisite setups, and can generate static APIs—all through familiar Django management commands.
A set of helpers for baking your Django Wagtail site out as flat files.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly works with Wagtail's Page models and uses familiar Django management commands like 'build' and 'buildserver', as shown in the configuration and usage sections.
Handles multiple sites and internationalization patterns out of the box, including i18n_patterns, referenced in the features list for multilingual setups.
Can build JSON files representing site APIs using Wagtail's V2 API, enabling static consumption of content without a live server.
Provides pre-configured Buildable views for all published or unpublished pages, requiring minimal extra code, as detailed in the configuration examples.
Built on top of Django Bakery, adding another layer of dependency and configuration complexity, which the README acknowledges as a foundational requirement.
Generates flat files only, so dynamic features like forms or real-time updates require external services or workarounds, limiting interactivity.
For large Wagtail sites, the build process can be slow as it generates all pages at once without native incremental build support mentioned in the README.