SPA랑 비교해서, SSR의 특징들을 이야기해주세요 #3
klmhyeonwoo
started this conversation in
General
Replies: 2 comments 4 replies
-
|
SPA와 다르게 SSR은 아래 특징들을 가지고 있다.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
SPA는 Client Side Rendering 방식으로 렌더링을 하며, 클라이언트 사이드에서 HTML, CSS, JavaScript를 한 번만 불러오고, 그 후에는 데이터를 받아올 때만 서버와 통신을 합니다. Server Side Rendering은 HTML파일을 서버가 이미 가지고 있는 상태에서 클라이언트는 렌더링을 시작하므로 초기 로딩이 빠르다는 장점이 있습니다. 또한 JavaScript를 실행시키지 않는 검색 로봇이 페이지를 크롤링하기에 적합하여 SEO에도 장점을 갖습니다. 다만, SPA 방식과 달리, 서버 사이드 렌더링이 적용된 페이지를 접근할 때마다 HTML 파일을 매번 요청하기 때문에 페이지 이동시 화면이 깜빡일 수가 있고, 서버에 부하를 줄 수도 있어서 성능과 UX적인 측면에서 SPA에 비해 떨어지는 부분도 존재합니다. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
SPA랑 비교해서, SSR의 특징들을 이야기해주세요
@prgmr99, @klmhyeonwoo
Beta Was this translation helpful? Give feedback.
All reactions