How to invalidate transformed image after source images are invalidated

enyo
enyo Member Posts: 2

I am compositing an image (result) out of 3 other images (a.webp, b.webp and c.webp) with the overlay (layer) transformation.

When I update one of the source images (a, b or c) with the cld uploader upload command I also send the invalidate flag, but this only invalidates the cache of the source images, not of result .

I think, I could use the explicit method to force regenerating result, but because I need the image in multiple resolutions, I want to avoid that. (I’m also giving a simple example. In my real world scenario, I do this compositing with hundreds of images).

Is there a way I can get this to work efficiently, or do I need to introduce version numbers here?

Tagged:

Answers