Skip to content

Feature Request: cache presets only, cache source #1669

Description

@tacman

I love being able to cache the derived images on s3. But really I only want to cache them there if it's going through a preset, if it's a free-form query parameters, the proxy in front is enough.

My solution now is to run 2 instances, the imgproxy 4 Pro one locked to presets only, and a second one (the free version) for the free-form. Most of the freeform calls are from a specialized image zoom tool that needs image tiles based on zoom level. But I don't want to cache them in s3.

Related: right now, I'm creating a 3000px image from the source image and calling it our "archive" image. Then all my subsequent resizing can come from that image, so I'm not re-fetching the source for each resize. It'd be nice if there was a way to cache the source image always.

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