Title: Minimum Configuration WordPress PWA
Author: Yohan Totting
Published: <strong>2017 年 12 月 24 日</strong>
Last modified: 2019 年 3 月 11 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/mcw-pwa/assets/icon-256x256.png?rev=1791987)

# Minimum Configuration WordPress PWA

 作者：[Yohan Totting](https://profiles.wordpress.org/tyohan/)

[下载](https://downloads.wordpress.org/plugin/mcw-pwa.zip)

 * [详情](https://cn.wordpress.org/plugins/mcw-pwa/#description)
 * [评价](https://cn.wordpress.org/plugins/mcw-pwa/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mcw-pwa/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mcw-pwa/#developers)

 [支持](https://wordpress.org/support/plugin/mcw-pwa/)

## 描述

This plugin’s goal is to improve your WordPress website experiences with [Progressive Web App](https://developers.google.com/web/progressive-web-apps/)
enhancement. Right now it will cache your static assets like scripts, stylesheets,
images, and fonts. It’s also boost your website loading performance especially on
first time loading, and website with a lot of images. The main goal is to make sure
your website not losing the user by make sure the website loading quickly. It’s 
integrated with [AMP page](https://www.ampproject.org/about/benefits/) and make 
your website start FAST with AMP but stay FAST after on your original website.

### Well Integrated with AMP Plugin

[AMP page](https://www.ampproject.org/about/benefits/) is very fast to load. But
how to keep the fast experience on your website when user open non AMP pages. If
your website open in AMP Page, this plugin will automatically prepare to boost performance
of your non AMP pages by caching the static assets like JavaScripts and CSS, so 
it’s will ready once you access your non AMP pages. Then when user click the logo
or go to your main website without AMP, those static assets will ready to serve 
without request to server anymore. Currently only work with [Automattic AMP For WordPress](https://wordpress.org/plugins/amp/)
plugin only.

### Work Well With All Performance Plugin

Add all static assets on precache settings like logo, CSS files, JavaScripts files,
and fonts to precache list that your plugin generated to make sure it caches by 
service worker on loaded.

### Keep The Website Fast In All Pages

On first time user open your website, it will cache all the static assets like JavaScripts,
CSS, fonts, and images that needed by all pages in your website. Then later when
user navigate to other pages, this static assets will serve directly from browser
caches and boost the page loading.

### Create Custom Offline Page

You can set what page that you want to show when user access your web but they can’t
access it due on offline condition. The page will shows up instead default browser
offline page. You can give better experience or information to your users about 
what happen and ask them to comeback later.

### Only Load Images That Shows On Screen

Images are nice to see on your website but will hurt performance if you have too
many images in one page. On mobile, even these images not shows up on screen, its
load and will slowing down the page loading performance. This plugin will detect
the images that not shows up on screen and will not load it on first time you open
the page. Later when you scroll the page, the plugin will detect if it’s getting
close to screen and load the image and ready to show once it appear on screen.

### Credits

I use some plugins as my references to develop this plugin. Please check their amazing
works
 * [BJ Lazy Load](https://wordpress.org/plugins/bj-lazy-load/) * [Jetpack](https://wordpress.org/plugins/jetpack/)*
[Accelerated Mobile Pages – AMP](https://wordpress.org/plugins/amp/) * [Workbox](https://developers.google.com/web/tools/workbox/)

## 屏幕截图

[⌊Settings Page To Enable Features.⌉⌊Settings Page To Enable Features.⌉[

Settings Page To Enable Features.

[⌊Scan Static Assets And Precache It.⌉⌊Scan Static Assets And Precache It.⌉[

Scan Static Assets And Precache It.

[⌊Set Your Offline Page That Shows When User Access Website On Offline.⌉⌊Set Your
Offline Page That Shows When User Access Website On Offline.⌉[

Set Your Offline Page That Shows When User Access Website On Offline.

[⌊Service Workers Precache Static Assets When AMP Page Loaded⌉⌊Service Workers Precache
Static Assets When AMP Page Loaded⌉[

Service Workers Precache Static Assets When AMP Page Loaded

## 安装

The goal of this plugin is to give good loading experiences on WordPress site with
minimum effort on installation. Once it’s installed, by default, it will come with
an optimal configuration to run.

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Setting precache assets by add your static assets like logo, CSS files, JavaScripts
    files, and fonts to precaches list to make sure it’s precaches on first time your
    page loaded.

## 常见问题

  What PWA features it has?

It focus on performance for now. Well integrated with AMP plugin. It use service
worker to cache static assets for better loading performance on repeat visits. Other
features like offline access, push notification, and add to home screen haven’t 
supported yet.

  Is it works on all browsers?

Lazy loading images and critical resources loading enhancement works on all browsers.

For repeat visits optimizing, it’s only working on browsers that support service
workers. Currently, it’s supported in Chrome, Firefox, Opera, and Samsung Internet
for a stable release. Support for service workers on UC Browser is not full, also
for Safari and Microsoft Edge currently only in Technology Preview version.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Minimum Configuration WordPress PWA」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Yohan Totting ](https://profiles.wordpress.org/tyohan/)
 *   [ Ivan Kristianto ](https://profiles.wordpress.org/ivankristianto/)

[帮助将「Minimum Configuration WordPress PWA」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mcw-pwa)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mcw-pwa/)，查看[SVN仓库](https://plugins.svn.wordpress.org/mcw-pwa/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/mcw-pwa/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mcw-pwa/)。

## 额外信息

 *  版本 **0.2.3**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **5.1.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/mcw-pwa/)
 * 标签
 * [Lazy Loading](https://cn.wordpress.org/plugins/tags/lazy-loading/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [pwa](https://cn.wordpress.org/plugins/tags/pwa/)[Workbox](https://cn.wordpress.org/plugins/tags/workbox/)
 *  [高级视图](https://cn.wordpress.org/plugins/mcw-pwa/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/mcw-pwa/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mcw-pwa/reviews/)

## 贡献者

 *   [ Yohan Totting ](https://profiles.wordpress.org/tyohan/)
 *   [ Ivan Kristianto ](https://profiles.wordpress.org/ivankristianto/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mcw-pwa/)