DEV Community

Cover image for Saving Millions of Images Series [Part Three]
Arthur Tkachenko
Arthur Tkachenko

Posted on

Saving Millions of Images Series [Part Three]

CDN

“The ideal method” is to store the metadata about the image and then copy the image to a CDN for serving that to a user. This way your site isn't impacted by all of the requests needed to get those images, resulting in a more performant site.

Image description

Using CloudFront as CDN can match with default strategy for startups of using AWS products and AWS credits for startups.

Replacing paths of images

Image description

Instead of S3 URLs, we can add a subdomain, like images.websitename.com or cdn.websitename.com.

Image description

I think it might be a great improvement for SEO. But probably you can get DMCA complaints. But it's just an additional thing to solve.

Saving Millions of Images Series

Top comments (0)