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

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

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
4
서비스 워커 생명주기와 캐시 관리
- 071
chapter
4
서비스 워커 생명주기와 캐시 관리
서비스 워커를 사용해 보면 서비스 워커의 작동 방식에 몇 가지 특이점이 있음을
알게 됩니다.
페이지를 로드할 때 가끔 서비스 워커 코드가 페이지를 관리하지 못하는 것처럼
보이고
(
서비스 워커가 활성화되어 있더라도
)
, 페이지를 여러 번 새로고침해야 했던 경
험이 있을 겁니다. 서비스 워커 코드를 변경한 다음 페이지를 몇 번이나 새로고침
해도 변경한 내용이 전혀 적용되지 않은 적도 있을 겁니다.
앞서
2
장에서는 페이지가 새로고침될 때마다 서비스 워커에 변경사항이 있는지
바로 알 수 있는 ‘
Update
on
reload
’ 모드를 켜도록 권장했습니다. 이 모드는
추억의
8
비트 또는
16
비트 게임에 존재하는 치트키 같은 것입니다. 이 방법을 사
용하면 위와 같은 문제를 겪지는 않겠지만, 서비스 사용자에게 권장할 수 있는 방
법은 아닙니다.
서비스 워커의 특성을 처음 접할 때는 혼란스러울 수 있습니다. 하지만, 서비스 워
커의 생명주기를 잘 짚고 넘어가면 서비스 워커가 무슨 이유로 이렇게 작동하는지
명확히 이해할 수 있습니다.
이번 장에서는 브라우저에서 사용 가능한 여러 가지 개발 도구를 살펴보고 사용해볼
예정입니다. 편의상 크롬을 사용하여 앱에 접근할 것이라 가정합니다. ...
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