Title: PWA for WordPress
Author: Ryunosuke Shindo
Published: <strong>29 d'agost de 2018</strong>
Last modified: 23 d'abril de 2019

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# PWA for WordPress

 Per [Ryunosuke Shindo](https://profiles.wordpress.org/ryushindo/)

[Baixa](https://downloads.wordpress.org/plugin/pwa4wp.1.2.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/pwa4wp/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/pwa4wp/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/pwa4wp/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/pwa4wp/#developers)

 [Suport](https://wordpress.org/support/plugin/pwa4wp/)

## Descripció

### About this plugin

To make your WordPress website to PWA, this plugin make two files, «Manifest» and«
ServiceWorker» in your website.
 Manifest file is a json file that has configurations
of web applications. ServiceWorker is a JavaScript file that controls PWA’s functions.
To start PWA, configure two files from configuration screen.

You can fine-tune the cache, such as expiration date, time and URL exclusion.
 By
excluding the URLs, like a new arrival information, data acquisition destination
in Ajax, this plugin can keep PWA data fresh. You can set expire time of caches,
then old cache will purged after specified time.

After version 1.1.2,
 Multi sites are supported. You can defer the PWA installation
popup shown in browser default and add your own installation button on your sites.

### STEP1

#### Configure Manifest

Prepare icon image file, image file must be png format.
 Make offline page, this
page will cached with PWA installation and shown when PWA is offline. Setup manifest
file from Manifest Configuration page. Image file will be resized to fit icon sizes
automatically.

### STEP2

#### Configure ServiceWorker

Setup ServiceWorker file from ServiceWorker Configuration page.

### COMPLETE!

## Captures

[⌊Main panel: status and usage, toggle switch for PWA start/stop.⌉⌊Main panel: status
and usage, toggle switch for PWA start/stop.⌉[

Main panel: status and usage, toggle switch for PWA start/stop.

[⌊Configure and generate 'Manifest'⌉⌊Configure and generate 'Manifest'⌉[

Configure and generate ‘Manifest’

[⌊Configure and generate 'ServiceWorker'⌉⌊Configure and generate 'ServiceWorker'⌉[

Configure and generate ‘ServiceWorker’

## Instal·lació

 1. Upload the plugin files to the `/wp-content/plugins/pwa4wp` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the `PWA for WordPress` screen to configure the plugin
 4. If «Current PWA Status» in main panel is not working, press «START» button.
 5. done!

## PMF

  If you have any questions…

Contact us from this link.
 [http://www.compin.jp/contact-pwa4wp/](http://www.compin.jp/contact-pwa4wp/)

  Update information

We are managing the source code with github.
 There is information about updates
and issues. [https://github.com/ryu-compin/pwa4wp](https://github.com/ryu-compin/pwa4wp)

## Ressenyes

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

### 󠀁[日本語化対応されていて、使いやすい](https://wordpress.org/support/topic/%e6%97%a5%e6%9c%ac%e8%aa%9e%e5%8c%96%e5%af%be%e5%bf%9c%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%81%a6%e3%80%81%e4%bd%bf%e3%81%84%e3%82%84%e3%81%99%e3%81%84/)󠁿

 [Anonymous User 18228745](https://profiles.wordpress.org/anonymized-18228745/) 
20 de agost de 2020

日本語化対応されていて、使いやすい

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

### 󠀁[完成度が神レベル](https://wordpress.org/support/topic/%e5%ae%8c%e6%88%90%e5%ba%a6%e3%81%8c%e7%a5%9e%e3%83%ac%e3%83%99%e3%83%ab/)󠁿

 [Ryo Uozumi](https://profiles.wordpress.org/ryoraspp/) 12 de juliol de 2019

5分以内ででPWA化できました！ とても嬉しいです！

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

### 󠀁[Excellent Solution](https://wordpress.org/support/topic/excellent-solution-38/)󠁿

 [dageni](https://profiles.wordpress.org/dageni/) 5 de març de 2019

I was looking for a PWA plugin for a multisite installation. It had to be compatible
with our push notifications plugin and I tried a quite a few before I came across
this one. What a great find! An outstanding plugin, easy to setup with lots of very
useful features. Many thanks and best wishes to the developers.

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

### 󠀁[Cache control](https://wordpress.org/support/topic/cache-control-3/)󠁿

 [Ryunosuke Shindo](https://profiles.wordpress.org/ryushindo/) 29 de agost de 2018

有効期限やURLでの除外などキャッシュの細かなコントロールができます。 新着情報のリスト
やajaxでのデータ取得先のURLなどをキャッシュから除外することで、サイトの鮮度を保ち
ながらPWAの恩恵を受けることができる。

 [ Llegiu totes les 4 ressenyes ](https://wordpress.org/support/plugin/pwa4wp/reviews/)

## Col·laboradors i desenvolupadors

«PWA for WordPress» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

 *   [ Ryunosuke Shindo ](https://profiles.wordpress.org/ryushindo/)

“PWA for WordPress” s’ha traduït a 1 configuració regional. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/pwa4wp/contributors)
per les seves aportacions.

[Traduïu «PWA for WordPress» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/pwa4wp)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/pwa4wp/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/pwa4wp/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/pwa4wp/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/pwa4wp/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.2.0

Update:
 Added «not set» for «orientation» parameter. Added feature «Force Online-
First» and «Force Cache-First».

Fixed issue:
 «add» button of First caches does not work.

#### 1.1.5

Fixed issue:
 Install popup displayed even though «Defer PWA install» mode.

#### 1.1.4

Update:
 Added preview page to default exclude URL. Fixed issue: Preview pages were
not excluded from cache. Left margin of pwa4wp-admin.css in several admin pages.
In admin console, some words were not translated.

#### 1.1.3

Fixed issue:
 in pwa4wp-a2hs-controller.js, event didn’t pushed into global variable.

#### 1.1.2

Fixed issue:
 Fixed a2hs control js error.

#### 1.1.0 / 1.1.1

Release Date – 06 December, 2018
 Update: Multi-site supported. Defer PWA installation
option added. Fixed issue: Regular expression form for «URLs for exclude from cache
list» increases escape character in every time saving settings.

#### 1.0.7

Release Date – 22 September, 2018
 Update: Added test form for reguler expression
in ServiceWorker settings. Fixed issue: Fixed PHP worning when PWA is active before
Manifest created. Fixed PHP worning when Manifest create before ServiceWorker created.

#### 1.0.5 / 1.0.6

Release Date – 12 September, 2018
 Fixed issue: Readme typo. Fixed JavaScript error
when fetching «online first».

#### 1.0.4

Release Date – 12 September, 2018
 Fixed issue: Readme typo. Update: When Manifest
file generated, ServiceWorker will be re-generated only when ServiceWorker already
exists. Added donation button. 🙂 Edited CSS.

#### 1.0.3

Release Date – 04 September, 2018
 Fixed issue: ServiceWorker cache name is not 
correct.

#### 1.0.2

Release Date – 04 September, 2018
 Fixed issue: Removed unused CSS loading. Update:
Add toggle switch for PWA start/stop

#### 1.0.1

Release Date – 30 August, 2018
 Fixed issue: When deactivate plugin, ServiceWorker
and Manifest files are removed but PWA status remains active.

#### 1.0.0

Release Date – 29 August, 2018
 First release.

## Meta

 *  Versió **1.2.0**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **300+**
 *  Versió del WordPress ** 4.4 o posterior **
 *  Provada fins a **5.1.24**
 *  Versió del PHP ** 5.4 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/pwa4wp/) i [Japanese](https://ja.wordpress.org/plugins/pwa4wp/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/pwa4wp)
 * Etiquetes
 * [mobile](https://ca.wordpress.org/plugins/tags/mobile/)[progressive web app](https://ca.wordpress.org/plugins/tags/progressive-web-app/)
   [progressive web apps](https://ca.wordpress.org/plugins/tags/progressive-web-apps/)
   [pwa](https://ca.wordpress.org/plugins/tags/pwa/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/pwa4wp/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  4 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/pwa4wp/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/pwa4wp/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/pwa4wp/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/pwa4wp/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/pwa4wp/reviews/?filter=1)

[La vostra ressenya](https://wordpress.org/support/plugin/pwa4wp/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/pwa4wp/reviews/)

## Col·laboradors

 *   [ Ryunosuke Shindo ](https://profiles.wordpress.org/ryushindo/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/pwa4wp/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://paypal.me/pwa4wp/10USD)