Safari Technology Preview Release 46 is now available for download for macOS Sierra and macOS High Sierra. If you already have Safari Technology Preview installed, you can update from the Mac App Storeâs Updates tab. This release covers WebKit revisions 225266-225841. Service Workers Offline applications are important to the web. After HTML5 first tried to accommodate them with the Offline Applica
æ¥æ¬çµæ¸æ°èã¯å½å ã代表ããçµæ¸èªã ããã®é»åçã¯webã§ã®ç¶ç¶èª²éã大æåããããã¾ã50ä¸ä»¥ä¸ã®ææä¼å¡ãæããã¢ã³ã¹ã¿ã¼ãµã¤ãã ã ãã®æ¥çµé»åçã11æ6æ¥ã«å ¨é¢ãªãã¥ã¼ã¢ã«ããã®ã ããå ¬éå¾ãwebæ¥çãã«ããã«ããã¤ããã表示é度ãçéã ã£ãã®ã ãæ¥çµå ¬å¼ãã¢ãã¤ã«ã§2åã®è¡¨ç¤ºé度ãéæããã¨å ã ã¨å®£è¨ãã¦ããã webãµã¼ãã¹ã¯ç¶ç¶çããç¥KPIã§ããã®ç¶ç¶çã«ã¯é度ã大ããå½±é¿ããã ããã¯ãã§ãããªãã¨ã¤ãã¤ã¨æããå人ã®kitakããã¨ã¹ãã¼ãã®ç§å¯ã調æ»ãã¦ã¿ãã Fastlyãã³ã³ãã³ããã£ãã·ã¥ã«ä½¿ãæ®ã©ã®ãã¼ã¿ã¯Fastlyãçµç±ãã¦åå¾ããã¦ãããFastlyã¯æè¿æ³¨ç®ãéãã¦ããCDNï¼ä¸çä¸ã«ã¨ãã¸ãµã¼ãã¼ãé ç½®ããé«éã«ã³ã³ãã³ããé ä¿¡ãããµã¼ãã¹ï¼ã§ãé常ã«é«æ©è½ã§ã¦ãã¼ã¯ãªãµã¼ãã¹ã ã ä¸è¬ã«ãCDNã¯ãã£ããä¸çä¸ã«ã³ã³ãã³ããã°ãã¾ãã¨ããããç¡
ã¯ããã« ãã®è¨äºã¯Gizumoã¨ã³ã¸ã㢠Advent Calendar 2015ã®17æ¥ç®ã®è¨äºã§ãã ä»åã¯ãServiceWorkerã®PushAPIã使ã£ã¦ãã©ã¦ã¶ã«Pushéç¥ã表示ããã¦ã¿ããã¨æãã¾ãï¼ ãã®ãããªè¨äºã¯ãã§ã«ããã®ã§ãä»åã¯ã ãµã³ãã«ããã°ã©ã ãç¨ãã¦ãããç°¡åã«Pushéç¥ãä½é¨ãã¦ã¿ã ã©ããªæµãã§Pushéç¥ãããã®ãæµããææ¡ãã ãã®2ç¹ãä¸å¿ã«é²ãã¦è¡ãã¾ãã ããã¦ä»¥ä¸ã®ç¹ã«ã¯è§¦ãã¾ãã Service Worker åã³ Push APIã®è©³ããä»æ§ ä»åã¯Service Workerã®Pushéç¥ãä½é¨ããããã¾ããªæµããæ´ããã¨ãç®çã¨ãã¦ãã¾ãã ã¾ã ãã¾ãJSã«è§¦ãããã¨ããªãæ¹ãæ¯éPushéç¥ãä½é¨ãã¦ã¿ã¦ãã ããï¼ï¼ ããã§ã¯å§ãã¾ãï¼ #éçºç°å¢ Chrome 42ä»¥ä¸ MAMPï¼MAMPã®ã¤ã³ã¹ãã¼ã«ã¯ãã¡ãï¼ ä¸è¨ã使
ä¸å¹´ä»¥ä¸åã®è¨äºãªã®ã§ãã³ã¼ããå¤ãã§ããæ°ãã¤ãã¦èªãã§ãã ããã PWAã¨ã¯ï¼ ç®ç æè¡ã¹ã¿ã㯠Service Worker PWAã®view App Shell Content ãã£ãã·ã¥æ¦ç¥ èªã¿è¾¼ã¿ããã¼ Web App Manifest ãã¶ã¤ã³ Firefoxã¨ChromeããService Workerãªããã©ã©ãããã®ï¼ ãããã¯ã¼ã¯ å®è£ ã©ã¤ãã©ãª webpack-offline æ§æ ãã¡ã¤ã« ã«ã¼ãã£ã³ã° ã¢ã»ããã®ã¤ã³ã¹ãã¼ã« APIå¨ã SSR è³æ ãããã« ããããã°PWAã®å®è£ ãããã¨ããªãã£ããªã¨æã£ãã®ã§å°ã触ã£ã¦ã¿ãã PWAã¨ã¯ï¼ PWA(Progressive Web Apps) ã¤ã³ã¹ãã¼ã«ãä¸è¦ã§ãä¸å®å®ãªãããã¯ã¼ã¯ã§ãç´ æ©ãèµ·åããããã·ã¥éç¥ãå¯è½ã«ãã¾ãã ã¾ãããã¼ã ç»é¢ã«ã¢ã¤ã³ã³ã表示ã§ããã¢ããªã¨åæ§ã®æ±ãããããã¨ãå¯è½
Intro PWA ã®æ®åã«ãããããã¯ã°ã©ã¦ã³ãå¦çãããã«å¶éãããã¨ãã£ã課é¡ãçã¾ããã ãã®å¯¾çã¨ãã¦ãããã¯ã°ã©ã¦ã³ãå¦çã«ããã Budget 㨠Cost ã®æ¦å¿µãææ¡ããããããæ±ã Budget API ã®çå®ãé²ãã§ããã åºæ¬æ¦å¿µã¨ç¾æç¹ã§ã® API å¤è¦³ã«ã¤ãã¦è§£èª¬ããã Update ææ¡ããã¦ä»¥éé·ããã¨ã¢ãããã¼ãããªãã£ããã Mozilla Standard Position ããªã¯ã¨ã¹ãããã¨ãããä»æ§ãæ¶ãã¦ãããã¨ãããã£ãã https://github.com/mozilla/standards-positions/issues/73#issuecomment-373681407 å ã®ãªãã¸ããªã« Issue ã§ç¾ç¶ãåãåãããã¨ãããçµå±éçºè ããã®æ¯æãå¾ãããã Obsolete ãããã¨ã®ãã¨ã blink-dev ã§ã¯ Intent
##ãservice workerãã¨ã¯ï¼ Chrome ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ã®@nhiroki_ããã«ããã¨ã ãã¼ã¸ã®ããã¯ã°ã©ã¦ã³ãã§åãã¤ãã³ãé§åã® JavaScript ç°å¢ ï¼ããã« âServiceâ Workerï¼ ã¨ã®ãã¨ã 大ããã¯ç¾å¨ã¯2ã¤ç¹å¾´ãããã Cacheæ©è½ (ãªãã©ã¤ã³ç°å¢ã§ã®ã¢ã¯ã»ã¹ãå¯è½ã«) Pushæ©è½ (ã¢ããªã¨åæ§ã«ãªã¨ã³ã²ã¼ã¸ã¡ã³ããé«ãã) å¼ç¨:Service Worker ã®ç´¹ä» Service Workerã®ã©ã¤ããµã¤ã¯ã«ã¯ä¸è¨ã å¼ç¨: Service Worker hackathon 2015 - introduction talk 1ç§ã£ã¦ã®ã¯ã人ãã·ã¼ã ã¬ã¹ã«æãã(=éåæãªãããªãå¿å°ãã)ç§æ°ã ããå®éä»ã®mobileã§ã®1ç§ã®å 訳ã¯ä¸è¨ã«ããéããã³ãã¯ã·ã§ã³å¼µã£ããéä¿¡ãçºçãããé¨åã§æ¢ã«å¤§æ ã使ã£ã¦ããã»ã»ã»w
Service Workerã¨ã¯ ãã©ã¦ã¶ã Web ãã¼ã¸ã¨ã¯å¥ã«ããã¯ã°ã©ã¦ã³ãã§å®è¡ããã¹ã¯ãªãã ãªãã©ã¤ã³ã®ã¢ããªãå®ç¾ã»ãµãã¼ãããããã«ä½ããããã®ã§ã ã¡ãªã¿ã«ããã©ã¦ã¶ã®å¯¾å¿ç¶æ³ã¯ãããªæã http://caniuse.com/#search=service%20workers ç¹å¾´ DOM ã«ã¢ã¯ã»ã¹ã§ããªã DOM ãæä½ãããå ´åã¯ãService Worker ãã³ã³ããã¼ã«ãã¦ãããã¼ã¸(js)㨠postMessage ã§ã¡ãã»ã¼ã¸ã®ããåãããã¦è¡ã ãªã¯ã¨ã¹ãããããã·ãããã¨ãå¯è½ Service Worker ã¯ãã©ã¦ã¶ãå¿ è¦ã«å¿ãã¦èµ·åã»çµäºããã®ã§ãå¤æ°ã®å¤ãä¿æãã¦ãããªã CacheãIndexedDB çã§å¤ãä¿åãã¦ãå¿ è¦ã«ãªã£ãæã«åãåºãããã«ãã Promise ãå¤ç¨ãã https ã localhost ä¸ã§ããåä½ããªã ã©
ã¯ããã« å æ¥cordovaã¦ã¼ã¶ä¼ã®åå¼·ä¼ã§æ¥ããããªããåãã¦Service Workerã¨ããè¨èãç¥ããèå³ãæã¡ã¾ãããã¢ããã³ãã«ã¬ã³ãã¼ãæ¸ãã¨ãããã¨ã§èªåãåå¼·ã«ãªãã¨ããç®çã¦èª¿ã¹ãçµæã¨å人çãªææ³(å°ã )ãã¾ã¨ãã¦ã¿ã¾ãããå®è£ ã«ã¤ãã¦å ¨ãæ¸ãã¦ãã¾ããããäºæ¿ãã ããã ãªãService Workerã使ã ãã®åã«Progressive Web Apps (PWA)ã£ã¦ããã®ããã£ã¦ Googleããã®å®ç¾©ã¯ããã§ãã¨1 è¦ããã«ãã¤ãã£ãã¢ããªçãªã¦ã¼ã¶ä½é¨ãæä¾ã§ããã¦ã§ãã¢ããªã¨ãããã¨ã§ãããã ãã¼ã ç»é¢ã«è¿½å æ©è½ã«ã¤ã㦠ã¦ã§ããã¼ã¸ããã¼ã ç»é¢ã«ããã¯ãã¼ã¯ããæ©è½ã§ããChromeã§ã¯Web App Manifestãå°å ¥ãiOS Safari対çã§apple-mobile-web-app-capableã¡ã¿ã¿ã°ã追å ãªã©ã§ç°¡åã«ãã¤ããã¢ããª
ç¬èªã®ã¢ããªå ã¤ã³ã¹ãã¼ã« ã¨ã¯ã¹ããªã¨ã³ã¹ãæä¾ããæ¹æ³ ã³ã¬ã¯ã·ã§ã³ã§ã³ã³ãã³ããæ´ç å¿ è¦ã«å¿ãã¦ãã³ã³ãã³ãã®ä¿åã¨åé¡ãè¡ãã¾ãã å¤ãã®ãã©ã¦ã¶ã§ã¯ãã¦ã¼ã¶ã¼ ã¤ã³ã¿ã¼ãã§ã¼ã¹å ã§ããã°ã¬ãã·ã ã¦ã§ãã¢ããªï¼PWAï¼ã®ã¤ã³ã¹ãã¼ã«ãæå¹ã«ãã¦å®£ä¼ã§ãã¾ããã¤ã³ã¹ãã¼ã«ï¼æ§ç§°ããã¼ã ç»é¢ã«è¿½å ãã¨ãå¼ã°ããï¼ã§ã¯ã ã¢ãã¤ã«ã¾ãã¯ãã¹ã¯ããã ããã¤ã¹ã§ PWA ãä½æã§ãã¾ããPWA ãã¤ã³ã¹ãã¼ã«ããã¨ãã¦ã¼ã¶ã¼ã®ã©ã¦ã³ãã¼ã«è¿½å ãããä»ã®ã¤ã³ã¹ãã¼ã«æ¸ã¿ã¢ããªã¨åæ§ã«å®è¡ã§ããããã«ãªãã¾ãã ãã©ã¦ã¶ãæä¾ããã¤ã³ã¹ãã¼ã« ã¨ã¯ã¹ããªã¨ã³ã¹ã®ã»ãã ã¢ããªå ã§ç´æ¥ç¬èªã®ã«ã¹ã¿ã ã¤ã³ã¹ãã¼ã« ããã¼ãæä¾ã§ãã¾ãã Spotify PWA ã«è¡¨ç¤ºããã [ã¢ããªãã¤ã³ã¹ãã¼ã«] ãã¿ã³ã ã¤ã³ã¹ãã¼ã«ãä¿é²ãããã©ãããæ¤è¨ããéã¯ãã¦ã¼ã¶ã¼ãé常ã©ã®ããã« ããããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}