coldtrick / pwa
Progressive Web App implementation
Fund package maintenance!
ColdTrick
www.paypal.me/ColdTrick
Installs: 1 827
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 1
Type:elgg-plugin
Requires
- npm-asset/upup: ~1.1.0
Conflicts
- elgg/elgg: <6.0
README
Provides Progressive Web App features
Features
- Icon upload
- Background color selection
- Color scheme selection
- Browser UI selection
Service Worker Caching
To reduce the requests to your site, you can enable Service Worker caching in the plugin settings. Be aware that if you enable service worker caching, you will need to make the following adjustment in your .htaccess file:
<IfModule mod_headers.c>
Header set Service-Worker-Allowed "/" "expr=%{THE_REQUEST} =~ m#upup.sw.js#"
</IfModule>
De-installing the plugin
Be aware that when you remove the PWA plugin the service workers that have been installed will not remove themselves. You might need something like https://github.com/NekR/self-destroying-sw.