WP Manifestindependent plugin directory
manifest / performance / offlinepage

Offline Page GitLab

Wordpress plugin allowing a page to be selected to present when the client cannot connect to the server. Uses service worker.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitLab with WP-CLI:

wp plugin install https://gitlab.com/gogetdane/offlinepage/-/archive/master/offlinepage-master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Utilises a service worker that caches a specified page to be presented in the client where there is no connection to the server.

Scope of the service worker is /. An .htaccess file adds the Service-Worker-Allowed header to the service worker's js file. User can decide which page of their WP site to use by providing an option in Reading settings.

@TODO: needs a plugin readme @TODO: try out and polish, maybe drop down of pages in settings? etc. etc.