Skip to content

Cache previously force-generated images? #19

@simonhrogers

Description

@simonhrogers

Hey Barry,

Currently with each new npm run generate, all images are generated again – I am wondering if it would be possible for this module to only write new images that don’t already exist in the dist?

I understand this might require altered images to be renamed / deleted manually but would save significantly on build times as otherwise it can take 10 mins or so to run through all the assets.

I am now resizing 90 images in 9 sizes each time – which causes my computer to crash (I will impose limits on Image Magick’s CPU usage in the meantime and see if this solves the crashing, but it would be helpful to have caching also!)

All Best,

Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions