{"id":2599,"date":"2020-04-11T14:53:44","date_gmt":"2020-04-11T06:53:44","guid":{"rendered":"http:\/\/www.yuguoxy.com\/geekhome\/?p=2599"},"modified":"2026-08-18T12:35:27","modified_gmt":"2026-08-18T04:35:27","slug":"%e5%89%8d%e7%ab%af%e5%bf%85%e4%bc%9a%e9%bb%91%e7%a7%91%e6%8a%80%e4%b9%8bpwa","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=2599","title":{"rendered":"\u524d\u7aef\u5fc5\u4f1a\u9ed1\u79d1\u6280\u4e4bPWA"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">\u4ece 2018 \u5e74\u5230\u5199\u7a3f\u65f6\uff0c\u53f7\u79f0\u4e0b\u4e00\u4ee3 Web \u5e94\u7528\u6a21\u578b\u7684 <strong style=\"color: #4870ac;\">PWA<\/strong> \u6210\u4e86\u5404\u524d\u7aef\u5382\u5546\u4e89\u76f8\u5e03\u5c40\u7684\u6280\u672f\u3002\u5b83\u5bf9\u6807 Native App\uff1a\u539f\u751f\u5728\u5b89\u5168\u3001\u6027\u80fd\u3001\u4f53\u9a8c\u4e0a\u786e\u5b9e\u9886\u5148\uff0c\u4f46\u5f00\u53d1\u8d35\uff0c\u4e0a\u67b6\u548c\u7248\u672c\u66f4\u65b0\u90fd\u8981\u8fc7\u5546\u5e97\u5ba1\u6838\uff1b\u4f4e\u9891 App \u8fd8\u5f97\u4e0b\u4e00\u6574\u5305\uff0c\u9694\u4e00\u9635\u53c8\u5f97\u66f4\u65b0\u3002<\/p>\n<p style=\"margin: 1em 0px;\">PWA \u4f5c\u4e3a Web \u5e94\u7528\uff0c\u5929\u751f\u80fd\u7ed5\u5f00\u5b89\u88c5\u5305\u548c\u5ba1\u6838\u94fe\u3002\u4e0b\u9762\u6309\u80cc\u666f\u3001\u5b9a\u4e49\u3001\u6838\u5fc3\u80fd\u529b\u548c\u548c\u539f\u751f\u7684\u5dee\u8ddd\u6765\u5199\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u80cc\u666f<\/h2>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u539f\u751f\u5f00\u53d1\u6210\u672c\u9ad8\u3002<\/section>\n<\/li>\n<li>\n<section>\u4e0a\u7ebf\u3001\u66f4\u65b0\u8981\u53d1\u5230\u4e0d\u540c\u5546\u5e97\u5e76\u8fc7\u5ba1\u3002<\/section>\n<\/li>\n<li>\n<section>\u7528\u5f97\u5c11\u4e5f\u5f97\u88c5\u5927\u5305\uff0c\u505c\u7528\u4e00\u6bb5\u65f6\u95f4\u540e\u53c8\u8981\u8ddf\u7740\u7248\u672c\u91cd\u88c5\u3002<\/section>\n<\/li>\n<\/ul>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001\u4ec0\u4e48\u662f PWA<\/h2>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">PWA<\/strong> \u662f Progressive Web App \u7684\u7f29\u5199\uff0c\u6e10\u8fdb\u5f0f\u589e\u5f3a Web \u5e94\u7528\u3002Google 2016 \u5e74\u63d0\u51fa\u30012017 \u5e74\u843d\u5730\uff0c\u76ee\u6807\u662f\u5728\u79fb\u52a8\u7aef\u7528\u6807\u51c6\u5316\u80fd\u529b\uff0c\u8ba9\u7f51\u9875\u63a5\u8fd1\u539f\u751f\u4f53\u9a8c\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u5b98\u65b9\u4e09\u70b9\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">Reliable - Load instantly and never show the downasaur, even in uncertain network conditions.\n\nFast - Respond quickly to user interactions with silky smooth animations and no janky scrolling.\n\nEngaging - Feel like a natural app on the device, with an immersive user experience.<\/code><\/pre>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u53ef\u9760<\/strong>\u2014\u2014\u5373\u65f6\u52a0\u8f7d\uff0c\u5f31\u7f51\u4e5f\u4e0d\u8f7b\u6613\u6302\u3002\u4ece\u4e3b\u5c4f\u5e55\u542f\u52a8\u65f6\uff0cService Worker \u53ef\u7acb\u523b\u62c9\u8d77\u5e94\u7528\uff1b\u5b83\u50cf\u5ba2\u6237\u7aef\u4ee3\u7406\uff0c\u63a7\u5236\u7f13\u5b58\u548c\u54cd\u5e94\u903b\u8f91\uff0c\u9884\u7f13\u5b58\u5173\u952e\u8d44\u6e90\u540e\u5c31\u80fd\u5c11\u4f9d\u8d56\u7f51\u7edc\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145144.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2600\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145144.png\" alt=\"20200411145144\" width=\"655\" height=\"377\"><\/a><\/p>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u5feb\u901f<\/strong>\u3002\u636e\u7edf\u8ba1\uff0c\u7ad9\u70b9\u52a0\u8f7d\u8d85\u8fc7 3s\uff0c53% \u7528\u6237\u4f1a\u653e\u5f03\u3002\u9875\u9762\u51fa\u6765\u540e\uff0c\u7528\u6237\u8fd8\u671f\u671b\u5e73\u6ed1\u8fc7\u6e21\u548c\u5feb\u901f\u54cd\u5e94\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145230.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2601\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145230.png\" alt=\"20200411145230\" width=\"633\" height=\"386\"><\/a><\/p>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u6c89\u6d78<\/strong>\u2014\u2014\u50cf\u8bbe\u5907\u4e0a\u7684\u539f\u751f\u5e94\u7528\u3002\u53ef\u5b89\u88c5\u5230\u4e3b\u5c4f\u5e55\uff0c\u4e0d\u5fc5\u8d70\u5e94\u7528\u5546\u5e97\uff1b\u5168\u5c4f\u4f53\u9a8c\uff0c\u8fd8\u80fd\u7528 Web \u63a8\u9001\u628a\u7528\u6237\u53ec\u56de\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145302.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2602\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/04\/20200411145302.png\" alt=\"20200411145302\" width=\"638\" height=\"400\"><\/a><\/p>\n<p style=\"margin: 1em 0px;\">Web \u5e94\u7528\u53ef\u901a\u8fc7 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">manifest.json<\/code> \u63a7\u5236\u663e\u793a\u548c\u542f\u52a8\u65b9\u5f0f\uff1a\u4e3b\u5c4f\u5e55\u56fe\u6807\u3001\u542f\u52a8\u8981\u52a0\u8f7d\u7684\u9875\u9762\u3001\u5c4f\u5e55\u65b9\u5411\uff0c\u4ee5\u53ca\u662f\u5426\u663e\u793a\u6d4f\u89c8\u5668 Chrome\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u6838\u5fc3\u529f\u80fd<\/h2>\n<p style=\"margin: 1em 0px;\">PWA \u4e0d\u662f\u5355\u6307\u67d0\u4e00\u9879\u6280\u672f\uff0c\u66f4\u50cf\u4e00\u7ec4\u601d\u60f3\u548c\u914d\u5957\u80fd\u529b\uff1a\u7528\u4e00\u7cfb\u5217 Web \u6280\u672f\u628a\u7f51\u7ad9\u7684\u5b89\u5168\u6027\u3001\u6027\u80fd\u3001\u6d41\u7545\u5ea6\u548c\u4f53\u9a8c\u5f80\u539f\u751f\u9760\u3002<\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u80fd\u529b<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Web App Manifest<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u56fe\u6807\u3001\u542f\u52a8\u9875\u3001\u5168\u5c4f\u3001\u65b9\u5411<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Service Worker<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u62e6\u622a\u8bf7\u6c42\u3001\u79bb\u7ebf\u3001\u4ee3\u7406\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Cache API<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u7f13\u5b58\u9759\u6001\u4e0e\u52a8\u6001\u8d44\u6e90<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Push &#038; Notification<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u63a8\u9001\u4e0e\u901a\u77e5<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Background Sync<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u540e\u53f0\u540c\u6b65<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u54cd\u5e94\u5f0f\u8bbe\u8ba1<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4e00\u5957\u9875\u9762\u9002\u914d\u591a\u7aef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u56db\u3001\u5982\u4f55\u5f25\u8865\u548c\u539f\u751f App \u7684\u5dee\u8ddd<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">\u6027\u80fd\uff1aApp Shell<\/h3>\n<p style=\"margin: 1em 0px;\">PWA \u4f7f\u7528 App Shell \u67b6\u6784\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">1. \u5feb\u901f\u52a0\u8f7d\n2. \u5c3d\u53ef\u80fd\u4f7f\u7528\u8f83\u5c11\u7684\u6570\u636e\n3. \u4f7f\u7528\u672c\u673a\u7f13\u5b58\u4e2d\u7684\u9759\u6001\u8d44\u4ea7\n4. \u5c06\u5185\u5bb9\u4e0e\u5bfc\u822a\u5206\u79bb\u5f00\u6765\n5. \u68c0\u7d22\u548c\u663e\u793a\u7279\u5b9a\u9875\u9762\u7684\u5185\u5bb9\uff08HTML\u3001JSON \u7b49\uff09\n6. \u7f13\u5b58\u52a8\u6001\u5185\u5bb9 App Shell \u53ef\u4fdd\u8bc1 UI \u7684\u672c\u5730\u5316\u4ee5\u53ca\u4ece API \u52a8\u6001\u52a0\u8f7d\u5185\u5bb9\uff0c\u4f46\u540c\u65f6\u4e0d\u5f71\u54cd\u7f51\u7edc\u7684\u53ef\u94fe\u63a5\u6027\u548c\u53ef\u68c0\u6d4b\u6027\u3002 \u7528\u6237\u4e0b\u6b21\u8bbf\u95ee\u60a8\u7684\u5e94\u7528\u65f6\uff0c\u5e94\u7528\u4f1a\u81ea\u52a8\u663e\u793a\u6700\u65b0\u7248\u672c\u3002\u65e0\u9700\u5728\u4f7f\u7528\u524d\u4e0b\u8f7d\u65b0\u7248\u672c\u3002\n\u4e3a\u4e86\u4fdd\u8bc1\u9996\u5c4f\u7684\u52a0\u8f7d\uff0c\u5728\u5185\u5bb9\u8bf7\u6c42\u5b8c\u6210\u4e4b\u524d\uff0c\u53ef\u4ee5\u4f18\u5148\u4fdd\u8bc1 App Shell \u7684\u6e32\u67d3\uff0c\u505a\u5230\u548c Native App \u4e00\u6837\u7684\u4f53\u9a8c\uff0cApp Shell \u662f PWA \u754c\u9762\u5c55\u73b0\u6240\u9700\u7684\u6700\u5c0f\u8d44\u6e90\u3002<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">\u65e0\u6cd5\u79bb\u7ebf\u4f7f\u7528<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">Service Worker + HTTPS +Cache Api + indexedDB \u7b49\u4e00\u7cfb\u5217web\u6280\u672f\u5b9e\u73b0\u79bb\u7ebf\u52a0\u8f7d\u548c\u7f13\u5b58<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">\u6570\u636e\u66f4\u65b0<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">Background Sync \u540e\u53f0\u540c\u6b65\u6280\u672f<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">\u65e0\u6cd5\u5b9e\u73b0\u63a8\u9001<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">Push&amp;Notification \u5b9e\u73b0\u63a8\u9001\u4e0e\u901a\u77e5<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">\u65e0\u6cd5\u6dfb\u52a0\u5230\u684c\u9762<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">\u901a\u8fc7manifest.json\u6587\u4ef6\u914d\u7f6e\uff0c\u4f7f\u5f97\u53ef\u4ee5\u76f4\u63a5\u6dfb\u52a0\u5230\u624b\u673a\u7684\u684c\u9762\u4e0a\u3002<\/code><\/pre>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u5929\u751f\u4f18\u52bf<\/strong>\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u65e0\u9700\u5b89\u88c5\u4e0b\u8f7d\uff0c\u8bbf\u95ee\u4e00\u6b21\u540e\u52a0\u5230\u684c\u9762\u5c31\u80fd\u6301\u7eed\u7528\u3002<\/section>\n<\/li>\n<li>\n<section>\u53d1\u5e03\u4e0d\u5fc5\u63d0\u4ea4\u5e94\u7528\u5546\u5e97\u5ba1\u6838\u3002<\/section>\n<\/li>\n<li>\n<section>\u7248\u672c\u8fed\u4ee3\u4e5f\u4e0d\u7528\u91cd\u65b0\u8fc7\u5ba1\u3002<\/section>\n<\/li>\n<li>\n<section>\u73b0\u6709\u7f51\u9875\u6539\u8fdb\u5373\u53ef\u6210\u4e3a PWA\uff0c\u8f6c\u578b\u5feb\u3002<\/section>\n<\/li>\n<li>\n<section>\u4e0d\u5fc5\u5404\u5199\u4e00\u5957 Android \/ iOS\u3002<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u52a3\u52bf<\/strong>\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u6d4f\u89c8\u5668\u652f\u6301\u8fd8\u4e0d\u5168\u9762\uff0c\u4e0d\u662f\u6bcf\u6b3e\u90fd\u80fd 100% \u8986\u76d6\u6240\u6709 PWA \u80fd\u529b\u3002<\/section>\n<\/li>\n<li>\n<section>\u8c03\u5e95\u5c42\u786c\u4ef6\uff08\u5982\u6444\u50cf\u5934\uff09\u5f80\u5f80\u8981\u9760\u7b2c\u4e09\u65b9\u5e93\u3002<\/section>\n<\/li>\n<li>\n<section>\u5f53\u65f6\u56fd\u5185\u90e8\u5206 Android \u5b9a\u5236\u7cfb\u7edf\u4f3c\u4e4e\u5c4f\u853d\u4e86 PWA\uff1b\u7b49\u751f\u6001\u8d77\u6765\u540e\u8fd9\u4e2a\u95ee\u9898\u4f1a\u5f31\u5316\u3002<\/section>\n<\/li>\n<\/ul>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e94\u3001\u53d1\u5c55\u8d8b\u52bf<\/h2>\n<p style=\"margin: 1em 0px;\">2016 \u5e74 PWA \u5728 Google \u843d\u5730\uff1b\u57fa\u4e8e Chromium \u7684 Chrome \u548c Opera \u5df2\u5b8c\u5168\u652f\u6301\u3002iOS 11.3 \u8d77\u6b63\u5f0f\u5f00\u59cb\u652f\u6301\uff1bWindows Edge \u4e5f\u652f\u6301\u3002\u56fd\u5185\u5c0f\u7a0b\u5e8f\u540c\u6837\u5438\u6536\u4e86 PWA \u7406\u5ff5\u3002\u968f\u7740\u6d4f\u89c8\u5668\u5927\u5382\u8ddf\u8fdb\uff0cPWA \u7684\u7a97\u53e3\u4f1a\u8d8a\u6765\u8d8a\u5927\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1aPWA \u7528 Manifest + Service Worker + Cache\/\u63a8\u9001\/\u540e\u53f0\u540c\u6b65\uff0c\u628a Web \u505a\u6210\u53ef\u5b89\u88c5\u3001\u53ef\u79bb\u7ebf\u3001\u63a5\u8fd1\u539f\u751f\u7684\u6e10\u8fdb\u589e\u5f3a\u5e94\u7528\uff1b\u4ee3\u4ef7\u662f\u6d4f\u89c8\u5668\u548c\u56fd\u5185 ROM \u652f\u6301\u4ecd\u4e0d\u6574\u9f50\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece 2018 \u5e74\u5230\u5199\u7a3f\u65f6\uff0c\u53f7\u79f0\u4e0b\u4e00\u4ee3 Web \u5e94\u7528\u6a21\u578b\u7684 PWA \u6210\u4e86\u5404\u524d\u7aef\u5382\u5546\u4e89\u76f8\u5e03\u5c40\u7684\u6280\u672f\u3002\u5b83\u5bf9\u6807 Nat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[105,10],"tags":[126],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2599"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2599"}],"version-history":[{"count":2,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2599\/revisions"}],"predecessor-version":[{"id":3694,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2599\/revisions\/3694"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}