<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>skokado</author_name>
  <author_url>https://blog.hatena.ne.jp/skokado/</author_url>
  <blog_title>HAL_DATA_techBlog</blog_title>
  <blog_url>https://techblog.haldata.net/</blog_url>
  <categories>
  </categories>
  <description>前回の記事にて、PWAという技術の概要やメリット、導入方法について触れました。 今回はその続きとしてService Workerの導入方法を解説します。 Service Workerのライフサイクル Service Workerにはライフサイクルという概念があります。 最初のイベントはInstallingで、これが正常に完了するとService Workerはfetchやpushなどのイベントをバックグラウンドで行えるようになります。 参考 - Service Worker のライフサイクル 1. Service Workerインストール では実際のコードを見ていきます。 Service Wo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.haldata.net%2Fentry%2F2019%2F09%2F20%2F150421&quot; title=&quot;WebアプリをネイティブライクにするPWA②（Service Worker） - HAL_DATA_techBlog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://developers.google.com/web/fundamentals/primers/service-workers/images/sw-lifecycle.png?hl=ja</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-20 15:04:21</published>
  <title>WebアプリをネイティブライクにするPWA②（Service Worker）</title>
  <type>rich</type>
  <url>https://techblog.haldata.net/entry/2019/09/20/150421</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
