From 1036b27614e939c9772aaf100602a250777c7890 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Sun, 16 Mar 2025 18:59:22 -0700 Subject: [PATCH] feat: add image caching options --- eleventy.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eleventy.config.js b/eleventy.config.js index ccfc088..6b3c56b 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -83,6 +83,12 @@ export default function (eleventyConfig) { }, failOnError: false, + + cacheOptions: { + directory: ".cache", + duration: "30d", + removeUrlQueryParams: false, + }, }); // --------------------- Passthrough File Copy -----------------------