Skip to content

cache option doesn't work in 11ty --dryrun #282

Description

@murtuzaalisurti
  • run 11ty in dry mode (skips writing files)
  • images are still processed even if cache duration is specified as 2w

still unclear if it actually re-fetches the files or just logs

eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
        formats: ["avif", "webp", "png", "jpeg"],
        cacheOptions: {
            duration: "2w",
        },
    });
Image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions