Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

이미지 CDN 캐싱 #118

Open
1 of 3 tasks
tmddus2 opened this issue Sep 11, 2024 · 0 comments
Open
1 of 3 tasks

이미지 CDN 캐싱 #118

tmddus2 opened this issue Sep 11, 2024 · 0 comments
Assignees

Comments

@tmddus2
Copy link
Collaborator

tmddus2 commented Sep 11, 2024

Description

S3에 있는 객체를 직접 조회하지 않고 CloudFront를 이용해 캐싱을 적용하고 보안을 높인다.

Before

데모데이 때 인터넷 환경이 안 좋아서 원래부터 이미지가 많았는데, 많은 이미지들이 느리게 불러와졌다. 캐싱이나 할 수 있는 방식이 없을까 하다가 CloudFront 활용하기로 했다.

After

CloudFront 를 통해서만 이미지 접근할 수 있도록 수정.

Todo

  • CloudFront 설정
  • 이미지 저장할 때 S3 원본 객체 링크 말고 CloudFront 링크로 바꾸기
  • S3에서의 접근 막기

ETC

@tmddus2 tmddus2 self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant