-
Notifications
You must be signed in to change notification settings - Fork 0
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
[정대윤] 11장: Next.js 13과 리액트 18 #90
The head ref may contain hidden characters: "11\uC7A5/\uC815\uB300\uC724"
Conversation
ec6fa60
to
703819c
Compare
703819c
to
eef746f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍 👍 고생하셨습니다 !!
- layout은 하위의 모든 주소에 영향을 미침. | ||
- `_app`, `_document`를 대체하며, `<head />`를 body에 그대로 포함할 수 있음. | ||
- css-in-js(런타임)dms useServerInsertedHTML을 사용 | ||
- 이는 `useInsertionEffect`(uIE)로 구현되었으며, uIE는 dom 랜더링 이전에 동적 실행됨. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uie 라 하는군요!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그냥 귀찬아서 줄인것...
next는 파일 시스템에 최대 50MB의 cache를 저장. | ||
Kubernetes, docker를 이용한 분산 환경이라면 pod마다 저장된 full route cache, data cache를 공유할 수 없음. | ||
|
||
따라서 redis 와같은 하나의 memory-cache를 바라보는 형태로 변경하면, 비효율을 줄일 수 있음. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넘 어렵 ...!!!
저희는 도커 + ecs로 관리하긴 하는데, 캐시 사이즈를 그냥 0으로 설정해서 관리하고 있어요 😱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cacheMaxMemorySize: 0, // disable default in-memory caching
여기서 in memory (defaults to 50mb) and on disk
라고 적혀있는데 그럼 매번 fetching을 하나요?!
따라갈라면 믈었다...