Eleventy Cache Assets Save

Utility to cache any remote asset: Image, Video, Web Font, CSS, JSON, etc

Project README

eleventy Logo

eleventy-fetch

Requires Node 18+

Formerly known as @11ty/eleventy-cache-assets.

Fetch network resources and cache them so you don’t bombard your API (or other resources). Do this at configurable intervals—not with every build! Once per minute, or once per hour, once per day, or however often you like!

With the added benefit that if one successful request completes, you can now work offline!

This plugin can save any kind of asset—JSON, HTML, images, videos, etc.

The full eleventy-fetch documentation is on 11ty.dev.

npm Version GitHub issues

Installation

npm install @11ty/eleventy-fetch

The full eleventy-fetch documentation is on 11ty.dev.

Tests

npm run test

Community Roadmap

Open Source Agenda is not affiliated with "Eleventy Cache Assets" Project. README Source: 11ty/eleventy-fetch
Stars
137
Open Issues
3
Last Commit
2 weeks ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating