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

Caching #1

Open
2 of 4 tasks
eungjun-yi opened this issue Dec 29, 2012 · 1 comment
Open
2 of 4 tasks

Caching #1

eungjun-yi opened this issue Dec 29, 2012 · 1 comment
Assignees

Comments

@eungjun-yi
Copy link
Member

현재 우리의 서버는 요청이 들어올 때 마다 곧이 곧대로 요청한 리소스를 그대로 반환해주고 있습니다.
그러나 같은 리소스를 여러번 요청한 경우에도 매번 다시 보내주는 것은 트래픽 낭비이므로 body 없이 304 Not Modified를 반환해주어야 합니다.

참고자료: RFC 2616 13. Caching in HTTP

@eungjun-yi
Copy link
Member Author

Cache-Control은 보통 origin server가 아니라 cache가 처리해야 할 헤더라 제외하는 게 나을 것 같네요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant