broccoli-persistent-filter

JSON →
library 3.1.3 ·javascript maintenance
verified Jun 7, 2026

A base class for Broccoli plugins that map input files to output files with a persistent disk cache. Current stable version is 3.1.3 (released 2021). It extends the Broccoli filter concept by caching processed results across builds, enabling fast restarts. Key differentiators: built-in async/concurrency support, dependency invalidation tracking, and configurable input/output encoding. Unlike plain broccoli-filter, it persists cached results to disk to avoid reprocessing unchanged files between builds, making it suitable for large projects with slow transforms.