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.
- Download and install the plugin from the WordPress.org plugin directory
- Activate the plugin through the “Plugins” menu in WordPress Dashboard.
- Clone or download the project repository
wp-offline-contentdirectory inside your WordPress installation plugins directory
- Enable the plugin from the admin panel
- 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.
- Can I configure which content is available for offline reading?
In a very limited way, yes. You can enable/disable if pages should be precached is such a way the will be availables by the user even if they were never visited before.
More options will be available with new versions of the plugin.
Katkıda Bulunanlar ve Geliştiriciler
“Offline Content” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.Katkıda bulunanlar
Includes latest Service Worker Manager which fixes a problem unregistering the service worker when all plugins using it are disabled.
The Service Worker unregister itself when no plugin using service workers is enabled.
Use WordPress AJAX infrastructure for dynamically generating the service worker file while reducing server footprint.
Use WP_Serve_File to efficiently generate the registrar and avoid unnecessary WordPress loads.
Relying on composer’s autoload to manage plugin dependencies.
Prevent undesired updates when used with other service worker supported plugins for WordPress.
New smart update algorithm minifies the number of background downloads when adding new content.
Cleaning old caches when changing the name of the cache where offline content is stored.