Offline Content
This plugin uses new ServiceWorker and Cache API to allow your users to access the contents of your site while they are offline or under unreliable network situations by caching part of your site. Once you’ve installed this plugin, anyone visiting your site in browsers that support the Service Worke
This plugin uses new ServiceWorker and Cache API to allow your users to access the contents of your site while they are offline or under unreliable network situations by caching part of your site.
Once you’ve installed this plugin, anyone visiting your site in browsers that support the Service Workers API will be able of access your content even if they run out of network or experiment network instability.
Configure the plugin in the “Settings > Offline content” section of your WordPress dashboard.
- 01Download and install the plugin from the WordPress.org plugin directory
- 02Activate the plugin through the “Plugins” menu in WordPress Dashboard.
Alternatively,
- 03Clone or download the project repository
- 04Copy wp-offline-content directory inside your WordPress installation plugins directory
- 05Enable the plugin from the admin panel
Frequently asked questions.
What browsers support the W3C Service Workers API?
Browser support for the W3C Service Worker API currently exists in Firefox, Chrome, and Chrome for Android, with other likely to follow.
What is the default policy for caching content?
The plugin will try to always serve fresh content from the Internet. After visiting a post or a page, the content will be cached in the background. In case of an unreliable network or lack of connectivity, the plugin will serve the cached content.
Can I use the plugin in combination with other plugins using SW
Since version 0.2.0, you can use this plugin in combination with other using the WordPress Service Worker Manager library .