feat: add image caching options
This commit is contained in:
parent
2aa912399c
commit
1036b27614
1 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,12 @@ export default function (eleventyConfig) {
|
||||||
},
|
},
|
||||||
|
|
||||||
failOnError: false,
|
failOnError: false,
|
||||||
|
|
||||||
|
cacheOptions: {
|
||||||
|
directory: ".cache",
|
||||||
|
duration: "30d",
|
||||||
|
removeUrlQueryParams: false,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// --------------------- Passthrough File Copy -----------------------
|
// --------------------- Passthrough File Copy -----------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue