Skip to Content
한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
book

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

by 한성용, 이선 브라운
April 2016
Beginner to intermediate
389 pages
9h 8m
Korean
Hanbit Media, Inc.
Content preview from 한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
246
한 권으로 끝내는 Node & Express
| 바이너리 파일 |
여기에는 여러 가지가 포함됩니다.
PDF
,
ZIP
파일, 설치 원본 등이죠.
HTML
이 목록에 없는 걸 보고 의아할지도 모르겠습니다. 정적
HTML
페이지는 왜 빠진 걸까
요? 그런 파일이 있다면 정적 자원으로 봐도 되지만, 그렇다면
URL
.
html
로 끝날 텐데 이건
‘최신’ 경향이 아닙니다. 정적
HTML
파일을
.
html
확장자 없이 전송하는 라우트를 만들 수도
있지만, 일반적으로 뷰를 만드는 편이 더 쉽습니다. 뷰에 꼭 동적 콘텐츠가 있어야 하는 것도
아니니까요.
API
만 만들고 있다면 정적 자원이 없을 수도 있습니다. 그런 경우라면 이번 장을 건너뛰어도
좋습니다.
16.1.
성능에 관한 고려 사항
정적 자원을 처리하는 방법에 따라 웹사이트 성능이 크게 달라질 수 있으며, 특히 사이트에 멀
티미디어 파일이 아주 많다면 차이가 더 커질 겁니다. 성능을 생각할 때 먼저 고려해야 할 점은
요청 숫자 줄이기콘텐츠 크기 줄이기입니다.
둘 중에서, (
HTTP
) 요청 숫자 줄이기가 더 중요하며, 모바일 환경에서는 특히 더 중요합니
다. 무선 통신망에서는
HTTP
요청을 만드는 것도 꽤 부담이 큽니다. 요청 숫자 줄이기에는 두
가지 방법이 있습니다. 하나는 자원을 묶는 것이고 다른 하나는 브라우저 캐싱입니다.
자원 결합은 주로 구조적이며 프론트엔드 관심사입니다. 가능한 한 작은 이미지를 결합해 스
프라이트 하나로 만들어야 합니다. 그리고
CSS
에서 오프셋과 크기를 지
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한선용, 이선 브라운

Publisher Resources

ISBN: 9788968482229