lipemat / super-progressive-web-apps
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
Requires
- php: >=7.1.3
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)
- Add to home screen optional support.
- Support Google Webfonts and Gravatars. Also now filter to whitelist additional cache domains
- Skip waiting on new service-working install.
- Prevent doubling up of requests on initial caching.
- Setting to enable/disable the service worker.
- Automatically disable a fetch when
SCRIPT_DEBUG = true
to prevent caching when developing. - 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. - Browser cache may be flushed programmatically via the
superpwa_resource_version
filter or by using the version handling found in wordpress-libs