Utility to cache any remote asset: Image, Video, Web Font, CSS, JSON, etc
eleventy-fetch is a plugin for the Eleventy static site generator that allows users to fetch network resources and cache them at configurable intervals. This helps prevent overwhelming API or other resources with frequent requests, and also enables users to work offline if a successful request has been completed. It supports caching various types of assets such as JSON, HTML, images, videos, etc.
To install eleventy-fetch, you need to have Node version 14 or higher. Follow these steps:
npm install eleventy-fetch
eleventy-fetch is a useful plugin for the Eleventy static site generator that allows users to fetch network resources and cache them, preventing excessive requests and enabling offline work. With easy installation and configuration options, this plugin provides a convenient solution for managing and caching assets in Eleventy projects.