I’m setting up an application where I need to upload and download images, I need to store the large original images and occasionally serve the full images via a direct download link, but more often I need to provide a small mobile/reduced sized version of that image.
I’m looking to use https://imgproxy.net/ to do so, however I would like to also be able to still use the CDN to cache the images that come out of this resizing so I can serve the most commonly used, smaller images at the edge.
The goal is to proxy requests from client -> cdn -> imgproxy -> spaces so I always only serve the size I need, and I can cache it at the edge.
Currently from what I can see in the documentation, there is no way to place any processing between the CDN and Spaces, is this correct? Or is there some tutorial you can point me to, in order to show me how to configure the CDN to do so?å
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.