Title: PWA
Author: Weston Ruter
Published: <strong>2018 年 7 月 12 日</strong>
Last modified: 2025 年 4 月 10 日

---

搜尋外掛

![](https://ps.w.org/pwa/assets/banner-772x250.png?rev=2272148)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/pwa/assets/icon.svg?rev=1908485)

# PWA

 由 [Weston Ruter](https://profiles.wordpress.org/westonruter/) 開發

[下載](https://downloads.wordpress.org/plugin/pwa.0.8.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/pwa/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/pwa/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/pwa/#developers)

 [技術支援](https://wordpress.org/support/plugin/pwa/)

## 外掛說明

>  Progressive Web Apps are user experiences that have the reach of the web, and
> are:
>  * [Reliable](https://developers.google.com/web/progressive-web-apps/#reliable)–
>    Load instantly and never show the downasaur, even in uncertain network conditions.
>  * [Fast](https://developers.google.com/web/progressive-web-apps/#fast) – Respond
>    quickly to user interactions with silky smooth animations and no janky scrolling.
>  * [Engaging](https://developers.google.com/web/progressive-web-apps/#engaging)–
>    Feel like a natural app on the device, with an immersive user experience.
> This new level of quality allows Progressive Web Apps to earn a place on the user’s
> home screen.

Continue reading more about [Progressive Web Apps](https://web.dev/progressive-web-apps/)(
PWA) from Google.

In general a PWA depends on the following technologies to be available:

 * [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API)
 * [Web App Manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest)
 * [HTTPS](https://en.wikipedia.org/wiki/HTTPS)

This plugin serves as a place to implement support for these in WordPress with the
intention of being proposed for core merge, piece by piece. Case in point, the HTTPS
functionality from this plugin has largely been made part of Core: [Improved HTTPS detection and migration in WordPress 5.7](https://make.wordpress.org/core/2021/02/22/improved-https-detection-and-migration-in-wordpress-5-7/).

This feature plugin is _not_ intended to obsolete the other plugins and themes which
turn WordPress sites into PWAs. Rather, this plugin is intended to provide the PWA
building blocks and coordination mechanism for these themes and plugins to not reinvent
the wheel and also to not conflict with each other. For example, a theme that implements
the app shell model should be able to extend the core service worker while a plugin
that provides push notifications should be able to do the same. Themes and plugins
no longer should have to each create a service worker on their own, something which
is inherently problematic because only one service worker can be active at a time:
only one service worker can win. If you are developing a plugin or theme that includes
a service worker, consider relying on this PWA plugin, or at least only use the 
built-in implementation as a fallback for when the PWA plugin is not available.

In versions prior to 0.6, no caching strategies were added by default. The only 
service worker behavior was to serve an offline template when the client’s connection
is down or the site is down, and also to serve an error page when the server returns
with 500 Internal Server Error. As of 0.6, there is a new “Offline browsing” toggle
on the Reading Settings screen in the admin. It is disabled by default, but when
enabled a [network-first](https://web.dev/offline-cookbook/#network-falling-back-to-cache)
caching strategy is registered for navigations so that the offline page won’t be
shown when accessing previously-accessed pages. The network-first strategy is also
used for assets from themes, plugins, and WordPress core. In addition, uploaded 
images get served with a [stale-while-revalidate](https://web.dev/offline-cookbook/#stale-while-revalidate)
strategy. For all the details on these changes, see the [pull request](https://github.com/GoogleChromeLabs/pwa-wp/pull/338).

Documentation for the plugin can be found on the [GitHub project Wiki](https://github.com/GoogleChromeLabs/pwa-wp/wiki).

**Development of this plugin is done [on GitHub](https://github.com/GoogleChromeLabs/pwa-wp).
Pull requests welcome. Please see [issues](https://github.com/GoogleChromeLabs/pwa-wp/issues)
reported there before going to the [plugin forum](https://wordpress.org/support/plugin/pwa).**

## 常見問題集

Please see the [frequently asked questions](https://github.com/GoogleChromeLabs/pwa-wp/wiki/FAQ)
on the GitHub project wiki. Don’t see an answer to your question? Please [search the support forum](https://wordpress.org/support/plugin/pwa/)
to see if someone has asked your question. Otherwise, please [open a new support topic](https://wordpress.org/support/plugin/pwa/#new-post).

## 使用者評論

![](https://secure.gravatar.com/avatar/750fb6d260658a46cf06e4f00889af04eca7230364c4407fab13be73d32688c5?
s=60&d=retro&r=g)

### 󠀁[Good plugin and awesome support](https://wordpress.org/support/topic/this-is-the-way-to-go-2/)󠁿

 [shawnpita](https://profiles.wordpress.org/shawnpita/) 2025 年 1 月 15 日

this has been one of the most help full plugins in my work

![](https://secure.gravatar.com/avatar/ed61b204aa7f7fc959d3bb09fb4430080df505e804fd5a7b39eaa5b0f4844569?
s=60&d=retro&r=g)

### 󠀁[works well](https://wordpress.org/support/topic/works-well-2931/)󠁿

 [nnnln](https://profiles.wordpress.org/nnnln/) 2024 年 5 月 20 日

I didn’t notice much of a difference when I tried it about 2 years ago, but now 
it seems to be working well. In my case

![](https://secure.gravatar.com/avatar/1ce858de930d27111535c1409ab25a52aaaf0f4be0b84a24a1c803bdee07f96c?
s=60&d=retro&r=g)

### 󠀁[Does exactly what’s needed](https://wordpress.org/support/topic/does-exactly-whats-needed-7/)󠁿

 [Rolf Allard van Hagen](https://profiles.wordpress.org/ravanh/) 2024 年 4 月 6 
日

It just works out of the box. No frills, no thunder, it just does exactly what is
should do. And responsive support to boot. Excellent work!

![](https://secure.gravatar.com/avatar/8da0986052c1c3899c72f4f06071779e013297278c2daa84c8dde975fdfdb848?
s=60&d=retro&r=g)

### 󠀁[Works amazingly](https://wordpress.org/support/topic/works-amazingly-10/)󠁿

 [Cristian J. Hidalgo](https://profiles.wordpress.org/sircam73/) 2024 年 1 月 13
日

In the Site Identity option, just go and make sure your 512×512 icon is maskable…..
and voila.

![](https://secure.gravatar.com/avatar/ddd76c2881f54e19413d11b5f98ddfe39c7073a2a94132ecd0679a674870cfb4?
s=60&d=retro&r=g)

### 󠀁[Very Good!](https://wordpress.org/support/topic/very-good-7145/)󠁿

 [krjojo](https://profiles.wordpress.org/krjojo/) 2023 年 11 月 27 日

I like it

![](https://secure.gravatar.com/avatar/94e008c8ff93d43e34149e18d77d688e0e7ef4762469ee1e463ab2b480552cec?
s=60&d=retro&r=g)

### 󠀁[The AVADA options page becomes a blank page](https://wordpress.org/support/topic/the-avada-options-page-becomes-a-blank-page-2/)󠁿

 [刘洪鑫](https://profiles.wordpress.org/liuhongxin1993/) 2023 年 11 月 14 日

In the AVADA option page will become a blank page, do not know whether compatibility
problems or bugs, switch in the page will become a blank page, need to refresh can
be.

 [ 閱讀全部 27 則使用者評論 ](https://wordpress.org/support/plugin/pwa/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈PWA〉的開發相關工作。

參與者

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)
 *   [ Google ](https://profiles.wordpress.org/google/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)
 *   [ rtCamp ](https://profiles.wordpress.org/rtcamp/)
 *   [ Alberto Medina ](https://profiles.wordpress.org/albertomedina/)

〈PWA〉外掛目前已有 10 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/pwa/contributors)
為這個外掛做出的貢獻。

[將〈PWA〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/pwa)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/pwa/)、查看 [SVN 存放庫](https://plugins.svn.wordpress.org/pwa/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/pwa/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/pwa/)。

## 變更記錄

For the plugin’s changelog, please see [the Releases page on GitHub](https://github.com/GoogleChromeLabs/pwa-wp/releases).

## 中繼資料

 *  版本 **0.8.2**
 *  最後更新 **1 年前**
 *  啟用安裝數 **20,000+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.8**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [Chinese (China)](https://cn.wordpress.org/plugins/pwa/)、[Dutch](https://nl.wordpress.org/plugins/pwa/)、
   [English (Australia)](https://en-au.wordpress.org/plugins/pwa/)、[English (Canada)](https://en-ca.wordpress.org/plugins/pwa/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/pwa/)、[English (US)](https://wordpress.org/plugins/pwa/)、
   [Persian](https://fa.wordpress.org/plugins/pwa/)、[Portuguese (Brazil)](https://br.wordpress.org/plugins/pwa/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/pwa/)、[Spanish (Spain)](https://es.wordpress.org/plugins/pwa/)、
   及 [Swedish](https://sv.wordpress.org/plugins/pwa/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/pwa)
 * 標籤:
 * [progressive web apps](https://tw.wordpress.org/plugins/tags/progressive-web-apps/)
   [pwa](https://tw.wordpress.org/plugins/tags/pwa/)[service-workers.](https://tw.wordpress.org/plugins/tags/service-workers/)
 *  [進階檢視](https://tw.wordpress.org/plugins/pwa/advanced/)

## 評分

 4.3 星，滿分為 5 星

 *  [  22 個 5 星使用者評論     ](https://wordpress.org/support/plugin/pwa/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/pwa/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/pwa/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/pwa/reviews/?filter=2)
 *  [  5 個 1 星使用者評論     ](https://wordpress.org/support/plugin/pwa/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/pwa/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/pwa/reviews/)

## 參與者

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)
 *   [ Google ](https://profiles.wordpress.org/google/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)
 *   [ rtCamp ](https://profiles.wordpress.org/rtcamp/)
 *   [ Alberto Medina ](https://profiles.wordpress.org/albertomedina/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/pwa/)