Web App ChecklistʹผΕ͍ͯΔ w LighthouseʢChrome֦ு·ͨίϚϯυϥΠϯπʔϧʣͰ߲ͷνΣοΫ͕Մ ೳ w Chrome 60͔Βσϕϩούʔπʔϧʹ౷߹͞ΕͨͨΊΠϯετʔϧෆཁ w ϕʔεϥΠϯProgressive Web App Checklistͷ߲ͷ߲ͱॻ͔Ε͍ͯΔ͕ɼ࠷৽ͷϕʔεϥ ΠϯProgressive Web App Checklistʹछྨ͔͠ॻ͔Ε͍ͯͳ͍ͨΊɼυΩϡϝϯτͷߋ৽͕ؒʹ ߹͍ͬͯͳ͍ʁ https://developers.google.com/web/progressive-web-apps/checklist https://developers.google.com/web/tools/lighthouse/ 5
Lighthouse w ͯ͢ͷApp URLΛΦϑϥΠϯͰϩʔυͰ Lighthouse w Service WorkerΛ࣮ͬͯݱ w ϗʔϜεΫϦʔϯʹՃ͢ΔͨΊͷϝλσʔλΛఏڙ Lighthouse w Web App ManifestϑΝΠϧΛՃ w 3GճઢͰ࠷ॳͷϩʔυ͕े͍ Lighthouse w ΫϩεϒϥβͰಈ࡞ • Chrome, Edge, Firefox, Safari w ϖʔδભҠ͕͍ճઢʹΑͬͯϒϩοΫ͞Εͳ͍ w ίϯςϯπ͕ͳ͍Έ͚ͩͷϖʔδʹભҠͤ͞Δํ͕ྑ͍ w શͯͷϖʔδ͕URLΛ࣋ͭ 6
Emerging 400Kbps 3GԆ400ms ͱFast 3G 1.6Mbps 3GԆ300ms ͷճઢͰΠϯλϥ ΫςΟϒʹͳΔ·Ͱͷ࣌ؒ w ϑϨʔϜϫʔΫUIϥΠϒϥϦ w Ϟδϡʔϧόϯυϥ WebpackͳͲ • Service Worker w ύϑΥʔϚϯεύλʔϯʢύϑΥʔϚϯε্ͷͨΊͷࢪࡦʣ w αʔόʔαΠυϨϯμϦϯά w ༻API Hacker News Firebase API͔Node-hnapi w ϗεςΟϯάڥ 10
w ιʔγϟϧϝλσʔλΛՄೳͰ͋Εఏڙ w FacebookTwitter༻ͷϝλσʔλ w ΧϊχΧϧURLΛඞཁͰ͋Εఏڙ w ෳͷURLͰಉ͡ίϯςϯπΛఏڙ͍ͯ͠Δ߹ͷΈ w History APIΛ༻ w https://example.com/#!user/26601ͳͲͷURLΛ༻͠ͳ͍ 12
w ৄࡉϖʔδ͔ΒϦετϖʔδʹΔͱ͖εΫϩʔϧҐஔΛอ࣋ w ςΩετೖྗ࣌ʹೖྗཝ͕εΫϦʔϯΩʔϘʔυͰӅ͞Εͳ͍ w ελϯυΞϩʔϯϑϧεΫϦʔϯϞʔυͰίϯςϯπڞ༗Ͱ ͖Δ w ίϯςϯπڞ༗URLΛίϐʔ͢ΔͨΊͷϘλϯΛՃ w εϚϗɼλϒϨοτσεΫτοϓʹରͯ͠Ϩεϙϯγϒ w ΞϓϦͷΠϯετʔϧΛաʹଅ͞ͳ͍ w ϗʔϜεΫϦʔϯͷՃ͕Πϯλʔηϓτ͞Ε͍ͯΔ 13
w ڐՄΛٻΊΔͱ͖ʹεΫϦʔϯΛ҉͘͢Δ w ϓογϡ௨λΠϜϦΟɾਖ਼֬ɾؔ࿈ w λΠϜϦΟϢʔβ͕ཁٻ͔ͨ࣌͠Πϕϯτ͕ى͖ͨ࣌ w ਖ਼֬௨ʹج͍ͮͯߦಈͰ͖Δඞཁ࠷খݶͷใ w ؔ࿈Ϣʔβ͕Γ͍ͨਓࣄʹؔ࿈ w ௨ͷڐՄͱېࢭΛ͍ͭͰઃఆͰ͖Δ w Ճͷػೳ w Credential Management APIΛͬͯσόΠεΛ·͍ͨͰϩάΠϯՄೳ w Payment Request APIΛͬͯࢧ͍Մೳ 15