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

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

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
3 캐시 스토리지 API
- 063
3.5
샘플 앱에서 캐싱하기
만약 홈페이지에 한 번 더 방문하고
(
새로운 서비스 워커의 인스톨 기회 제공
)
, 이후 오프
라인 상태일 때 홈페이지에 다시 방문하면
indexoffline
.
html
의 콘텐츠를 볼
수 있을 것입니다.
하지만 아직 끝나지 않았습니다. 현재 코드는 파일 하나
(index
-
offline
.
html
. 스타일
시트나 이미지 없이 사용자에게 초라한 오프라인 환경을 제공하고 있습니다
)
만 캐싱하고 제공
합니다. 게다가 실패하는 모든 요청에 대해서 동일한
HTML
페이지를 소박하게
반환하고 캐싱합니다. 사용자가
index
.
html
을 요청하였는지,
bootstrap
.
min
.
css
나
gih
-
offline
.
css
를 요청했는지는 중요하지 않습니다. 그 어떤 요청이 실패
하더라도, 서비스 워커는 항상 동일한
HTML
페이지를 보여줍니다.
그림
3
-
3
스타일시트를 요청했을 때 보이는
HTML
페이지
‘임무 완료’ 배너를 달기 전에 서비스 워커가 캐시에서 필요한 모든 리소스를 저장
하도록 개선하고 각각의 요청이 올바른 응답과 매치되도록 해야 합니다.
먼저
index
-
offline
.
html
에서 필요한 모든 스타일시트와 이미지를 캐싱해봅
시다.
064 - 프로그레시브 웹 앱
지금까지 배웠던 모든 것을 사용하여 이를 수행할 수 있고, 많은 수의 ...
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