-
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
In-memory cache is empty whenever Eleventy build starts from scratch. It's not an issue for sites with small number of images. But for sites with large number of large images, compressing them takes quite a lot of time.
In my case (https://kamituel.pl) I've over 300 high resolution source images that I'd ideally serve in 2-3 formats (avif, jpg, maybe webp) in multiple sizes.
I propose a new config option that would, if enabled, persist the in-memory cache to disk and reuse it the next time the build starts.
If maintainers consider this idea to be a good candidate to exist in eleventy-img itself, I'd be happy to formulate this proposal more concretely and later help / submit a PR.
benjaminrancourt, JohJonker, KevinGimbel, dimitrinicolas, kevinlang and 12 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request