Skip to content
eleventy-plugin-netlify-data-store
Menu

eleventy-plugin-netlify-data-store Read & write build-time content for Eleventy from Netlify Blobs, with a TTL-based local cache for fast, offline-tolerant builds

Build-time content from Netlify Blobs, cached locally with a TTL you control, so builds stay fast, survive an outage, & never fail on missing data.

yarn add -D @allons-y/eleventy-plugin-netlify-data-store

Documentation

Getting started
Install the plugin, register it, & read a first blob.
How it works
The envelope, the order reads resolve in, & the local cache.
Configuration
Pass options to the plugin, & what the common ones do.
Write from a scheduled function
Produce an envelope outside Eleventy & store it in Netlify Blobs.
Read in templates
Load blobs into global data, & render the stale & error states.
Build offline & in CI
Run builds from a warm cache with no credentials & no network.
Reference
Every function & option, generated from the JSDoc in src/.
Compatibility
Supported Eleventy & Node versions, & use outside Eleventy.

Allons-y Studio

Let's build something great together

A front-end & design systems studio helping teams ship consistent, accessible UI faster.