9æ22æ¥ã« Google ã®æ±äº¬ãªãã£ã¹ã§éå¬ããã Progressive Web Apps Roadshow Tokyo 2017 ã«åå ãã¾ããã
Google ã® ãããããã¼ã¢ããã±ã¤ããåæè±å¿ æ°ã¯ããIntegrated Experiencesãã¨ããã¿ã¤ãã«ã§ãPWA ã«ãããããã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ãã¨ãPayment Request APIãã«ã¤ãã¦ããã®æè½æ§ã説æãã¾ããã
ãã®è¨äºã§ã¯ãããã¼ã ç»é¢ã¸ã®ã¢ã¤ã³ã³è¿½å ãã«ãã©ã¼ã«ã¹ãã¦ã¬ãã¼ããã¾ãã
ã·ã³ãã«ãã§ããã¯ãã«ãªãã¼ã ç»é¢ã¢ã¤ã³ã³
ããã¼ã ç»é¢ã¸ã®ã¢ã¤ã³ã³è¿½å ãã¯ã·ã³ãã«ã§ãããã¯ãã«ãªæ©è½ã§ãã
ãã¨ãã°ãPWA 対å¿ãã Twitter ã¯æ¯æ¥100ä¸ã®ã¦ã¼ã¶ã¼ããã¼ã ç»é¢ã¢ã¤ã³ã³çµç±ã§ã¢ã¯ã»ã¹ãã¾ãã
楽天ã¬ã·ãã¯ããã¼ã ç»é¢ã¢ã¤ã³ã³ã§æ¬¡ã®ãããªææãæã«ãã¦ãã¾ãã
- ãã¼ã ç»é¢ã¢ã¤ã³ã³ã追å ããã¦ã¼ã¶ã¼ã¯è¨ªåæ°ã 1.7 å
- ãã¼ã ç»é¢ã¢ã¤ã³ã³ã追å ããã¦ã¼ã¶ã¼ã¯ãã¼ã¸ãã¥ã¼ã 3.1 å
80 %ã®ã¦ã¼ã¶ã¼ã¯ãã¼ã ç»é¢ã®ã¢ããªã¢ã¤ã³ã³ãæå³ãã¦ç§»åãã
åææ°ãå¼ç¨ãã comScore ã®èª¿æ»ã®ãã¼ã¿ã«ããã°ãã80 %ã®ã¦ã¼ã¶ã¼ã¯ãã¼ã ç»é¢ã®ã¢ããªã¢ã¤ã³ã³ãæå³ãã¦ç§»åãããã¨ã®ãã¨ã§ãã
ã¢ããªã¢ã¤ã³ã³ã®ç§»åã«å½±é¿ãä¸ããã®ã¯æ¬¡ã®ãããªè¦å ã§ãã
- ã©ã®ãããé »ç¹ã«ä½¿ãã
- è¦ããã¨ããã«ããã¨ã¢ã¯ã»ã¹ãããã
- åé¡ãããã
- è¦ãç®ãè¯ããããã
æ®æ®µä½æ°ãªã使ã£ã¦ãã¾ããããã¼ã ç»é¢ã®ã¢ã¤ã³ã³ã¨ããã®ã¯ã¹ããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦é常ã«éè¦ãªãã¼ã«ã ã¨ãããã¨ããããã¾ãã
PWA ã使ãã°ãã¦ã§ããµã¤ãã§ãã£ã¦ããã¼ã ç»é¢ã«ã¢ã¤ã³ã³ã追å ã§ãã¾ãã
ãã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ã®è¦ä»¶
ãã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ã®ããã³ãããåºç¾ãããã«ã¯æ¬¡ã®æ¡ä»¶ãæºããå¿ è¦ãããã¾ãã
- 次ã®æ
å ±ãè¨è¿°ãããã¦ã§ãã¢ã㪠ãããã§ã¹ã ãã¡ã¤ã«
short_name
name
144×144192Ã192 px ã® png ã¢ã¤ã³ã³- èªã¿è¾¼ã¿å
ã®
start_url
- ãµã¤ãã« Service Worker ãç»é²ããã¦ããï¼Service Worker ã稼åãããã«ã¯ HTTPS å¿ é ï¼
- ã¦ã¼ã¶ã¼ã®ã¨ã³ã²ã¼ã¸ã¡ã³ã
æå¾ã®ã¨ã³ã²ã¼ã¸ã¡ã³ãã¯ããã¨ãã°ã2 å以ä¸ã®ã¢ã¯ã»ã¹ãããããã®ã¢ã¯ã»ã¹ã« 5 å以ä¸ã®ééããããã¨ãã£ããã®ã§ãã
ãããããã®åºæºã¯å
¬éããã¦ããããå¤æ´ãããå¯è½æ§ãããã¾ãã
åãç¥ãéãã§ã¯ãChrome ã®å ´åã¯ãChrome ãæ㤠Site Engagement ã®ã¹ã³ã¢ã«åºãã¦ãã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ã®ããã³ãããåºç¾ããããã§ãã
ãã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ã«é¢ããçå
ããããã¯ãQ & A ã»ãã·ã§ã³ã§åºããã¼ã ç»é¢ã¢ã¤ã³ã³è¿½å ã«é¢ãã質åã¸ã®åçã§ãã
Q. ä¸åº¦æå¦ããããã³ããã¯ååºç¾ããã®ãï¼
ãã¼ã ç»é¢ã¸ã®è¿½å ãä¿ãããã³ãããã¦ã¼ã¶ã¼ãæå¦ããå ´åãåã³è¡¨ç¤ºãããã¨ã¯ããã®ã§ããããï¼
次ã®æ¡ä»¶ã§ååºç¾ããããã§ãã
- Ãã§éããå ´åã¯14æ¥å¾ä»¥é
- æ示çã«æå¦ããå ´åã¯90æ¥å¾ä»¥é
ãã ãæ¡ä»¶ã¯ä»å¾å¤ãããã¨ããããã¾ãã
ã¡ãªã¿ã«ãããã·ã¥éç¥ã®ããã³ããã¯1åæå¦ãããã2度ã¨åºç¾ãã¾ããã
ã»ã«ã³ããã£ã³ã¹ã¯ãªãã®ã§æ
éã«è¡¨ç¤ºãããªããã°ãªãã¾ããã
Q. ããã³ãããä»»æã®ã¿ã¤ãã³ã°ã§åºãããï¼
å
ã»ã©èª¬æããããã«ãããã³ããã¯ç¾å¨ã¯ã¦ã¼ã¶ã¼ã¨ã³ã²ã¼ã¸ã¡ã³ãã«åºã¥ãã¦èªåçã«åºç¾ãã¾ãã
ãããããµã¤ã管çè
ãå®ããä»»æã®ã¿ã¤ãã³ã°ã§åºç¾ããããã¨ã¯ã§ããã®ã§ããããï¼
ä»ã®ã¨ããã¯ã§ãã¾ããã
ããããå®è£
äºå®ã§æ°ãæå¾ã«ã¯å®ç¾ã§ããã ããã¨ã®ãã¨ã§ãã
以ä¸ã§ãã
ãã¼ã ç»é¢ã®ã¢ã¤ã³ã³è¿½å ã¯ãPWA ã®ãªãã§ãæãæ軽ã«å®è£
ã§ããæ©è½ã§ãã
JavaScript ã«è©³ãããªãåã§ããã®ããã°ã«é©ç¨ãã¦ãã¾ãã
æè¡ããã¥ã¡ã³ããæ¥æ¬èªåããã¦ãã¾ãã
ï¼ãããèªãã ã ãã§ã¯å®è£
æºåã¯ä¸ååã§ããï¼èå³ãæã£ããªãåç
§ãã¾ãããã