2 ms·
What we do is to add a signature to url. For example image.jpg?w=500&sig=<hmac of w=500> so the server can validate that the request url originated from us and
by eknkc 9y ago
What we do is to add a signature to url. For example image.jpg?w=500&sig=<hmac of w=500> so the server can validate that the request url originated from us and we can add more image sizes by just generating new urls with correct signature.
This solves the abuse issue while providing the same freedom for image sizes.
Edit: Also we use aws lambda for image resizing so scaling is not an issue and generated images are cached on s3. Storage is cheap.