eleventy-auto-cache-buster

JSON →
library 0.9.2 ·javascript
verified Jun 7, 2026

An Eleventy plugin that automatically adds content-hash based cache-busting query parameters (?v=...) to asset URLs (CSS, JS, images, etc.) with zero configuration. Currently at version 0.9.2, it requires Node >=20 and works with Eleventy. Unlike traditional cache-busting filters, it operates as a transform, meaning no template code changes are needed. It supports configurable hash algorithms, file extension filtering, glob patterns, and asynchronous processing. The plugin is lightweight and ideal for static sites built with Eleventy that need long-term caching without manual versioning.