lipemat/super-progressive-web-apps

This package is abandoned and no longer maintained. No replacement package was suggested.

Convert your WordPress website into a Progressive Web App

Installs: 70

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 81

Type:wordpress-plugin

2.5.0 2021-04-01 02:40 UTC

This package is auto-updated.

Last update: 2023-09-29 02:20:21 UTC


README

This is a fork of the original plugin with many enhancements.

This plugin has diverged from the original since version 2.0.0 and will no longer be merging in updates from upstream.

Occasionally any useful bug fixes or enhancements from upstream will be cherry-picked. Currently, up to date with version 2.1.8

Installation

composer require lipemat/super-progressive-web-apps

Usage

require __DIR__ . '/vendor/autoload.php'

Enhancements (non exhaustive)

  1. Add to home screen optional support.
  2. Support Google Webfonts and Gravatars. Also now filter to whitelist additional cache domains
  3. Skip waiting on new service-working install.
  4. Prevent doubling up of requests on initial caching.
  5. Setting to enable/disable the service worker.
  6. Automatically disable a fetch when SCRIPT_DEBUG = true to prevent caching when developing.
  7. Setting to add "Must Cache" urls which will be added to the cache even no matter where they live. Useful when using a script from /wp-admin which would normally be excluded.
  8. Browser cache may be flushed programmatically via the superpwa_resource_version filter or by using the version handling found in wordpress-libs