Skip to Content
만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
book

만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
052 - 프로그레시브 웹 앱
직접
Content
-
Type
헤더를 추가한 이유가 궁금하다면, 이 부분을 제거하고 헤더 없
이 콘텐츠를 반환하도록 코드를 수정한 결과를 살펴보기 바랍니다.
브라우저는 응답 결과를 단순 텍스트로 간주하고 처리합니다.
HTML
태그, 스타일
등을 포함한 모든 내용이 단순한 텍스트로 표시됩니다. 일반적으로는 브라우저에게
HTML
형식의 파일이
HTML
형식을 따르고 있다고 알려줄 필요가 없습니다. 여기서
는 왜
Content
-
Type
을 명시했을까요?
대부분의 웹 서버는 널리 사용되는 파일을 전송할 때 자동으로 올바른 헤더 값을 지정
합니다. 다시 말해 서버가
HTML
파일을 전송할 때
HTML
본문과 여러 종류의 헤더
값이 포함된
response
를 만듭니다. 그중 일부에는 브라우저가 전송되는 파일의 종
류를 알 수 있도록
Content
-
Type
헤더가 포함되어 있습니다.
response
를 처음부
터 만들 경우 응답 본문
(HTML
)
뿐 아니라 이러한 헤더값도 직접 올바르게 구성해줘야
합니다.
2.11
서비스 워커의 범위(Scope) 이해하기
이 장의 초반에는 서비스 워커 파일을 프로젝트
root
폴더에 저장해습니다. 왜 서
비스 워커 파일의 위치가 중요한지, /
js
/
sw
.
js
와 같이 하위 디렉터리에 저장하면
왜 문제가 되는지 살펴보겠습니다. ...
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

파이썬으로 웹 크롤러 만들기: 초간단 나만의 웹 크롤러로 원하는 데이터 가져오는 방법

파이썬으로 웹 크롤러 만들기: 초간단 나만의 웹 크롤러로 원하는 데이터 가져오는 방법

한선용, 라이언 미첼

Publisher Resources

ISBN: 9791162248737