Is it fastest to store static files such as images close to the user?

Asked 1 years ago, Updated 1 years ago, 60 views

I am currently using aws for my web application. It goes back to EC2, and region is the United States. Most users are in Korea. At this time, I would like to save a static file such as an image in S3 and use. Then, is it right to use Seoul region for S3?

When you render html on the EC2 server, I wonder if you actually bring in a static file and render it, or if you render it only with an address.

server s3 aws ec2

2022-09-22 18:40

1 Answers

Of course, the closer, the faster routing is possible.

And for static files, using cloud front along with S3 enables faster service.

HTML rendering is what happens in the client browser. (Download JS, CSS, images, etc. from the user browser.) It is independent of the EC2 instance.


2022-09-22 18:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.