{"id":41838,"date":"2016-02-10T15:21:10","date_gmt":"2016-02-10T15:21:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/offline-content\/"},"modified":"2016-04-16T09:29:05","modified_gmt":"2016-04-16T09:29:05","slug":"offline-content","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/offline-content\/","author":14773411,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.6.1","stable_tag":"0.6.1","tested":"4.5.33","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Offline Content","header_author":"Mozilla","header_description":"","assets_banners_color":"d53c31","last_updated":"2016-04-16 09:29:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/delapuente\/wp-offline-content","header_author_uri":"https:\/\/www.mozilla.org\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":6689,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1366488","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1366488","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1366488","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1366488","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.6.0","0.6.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2323,36953,46860,36577,23273],"plugin_category":[59],"plugin_contributors":[90051,90052],"plugin_business_model":[],"class_list":["post-41838","plugin","type-plugin","status-publish","hentry","plugin_tags-offline","plugin_tags-read-later","plugin_tags-serivce","plugin_tags-service-workers","plugin_tags-workers","plugin_category-utilities-and-tools","plugin_contributors-delapuente","plugin_contributors-mozillawebapps","plugin_committers-delapuente"],"banners":{"banner":"https:\/\/ps.w.org\/offline-content\/assets\/banner-772x250.png?rev=1366488","banner_2x":"https:\/\/ps.w.org\/offline-content\/assets\/banner-1544x500.png?rev=1366488","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/offline-content\/assets\/icon-128x128.png?rev=1366488","icon_2x":"https:\/\/ps.w.org\/offline-content\/assets\/icon-256x256.png?rev=1366488","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin uses new <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Service_Worker_API\">ServiceWorker<\/a> and <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Cache\">Cache API<\/a> 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.<\/p>\n\n<p>Once you've installed this plugin, anyone visiting your site in <a href=\"http:\/\/caniuse.com\/#feat=serviceworkers\">browsers that support the Service Workers API<\/a> will be able of access your content even if they run out of network or experiment network instability.<\/p>\n\n<p>Configure the plugin in the \"Settings &gt; Offline content\" section of your WordPress dashboard.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and install the plugin from the WordPress.org plugin directory<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress Dashboard.<\/li>\n<\/ol>\n\n<p>Alternatively,<\/p>\n\n<ol>\n<li>Clone or download the project repository<\/li>\n<li>Copy <code>wp-offline-content<\/code> directory inside your WordPress installation plugins directory<\/li>\n<li>Enable the plugin from the admin panel<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What browsers support the W3C Service Workers API?<\/dt>\n<dd><p><a href=\"http:\/\/caniuse.com\/#feat=serviceworkers\">Browser support for the W3C Service Worker API<\/a> currently exists in Firefox, Chrome, and Chrome for Android, with other likely to follow.<\/p><\/dd>\n<dt>What is the default policy for caching content?<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>Can I use the plugin in combination with other plugins using SW<\/dt>\n<dd><p>Since version 0.2.0, you can use this plugin in combination with other using the <a href=\"https:\/\/github.com\/mozilla\/wp-sw-manager\/blob\/master\/README.md\">WordPress Service Worker Manager library<\/a>.<\/p><\/dd>\n<dt>Can I configure which content is available for offline reading?<\/dt>\n<dd><p>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.<\/p>\n\n<p>More options will be available with new versions of the plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.6.1<\/h4>\n\n<p>Includes latest Service Worker Manager which fixes a problem unregistering the service worker when all plugins using it are disabled.<\/p>\n\n<h4>0.6.0<\/h4>\n\n<p>The Service Worker unregister itself when no plugin using service workers is enabled.\nUse WordPress AJAX infrastructure for dynamically generating the service worker file while reducing server footprint.\nUse <a href=\"http:\/\/github.com\/marco-c\/wp_serve_file\">WP_Serve_File<\/a> to efficiently generate the registrar and avoid unnecessary WordPress loads.\nRelying on composer's autoload to manage plugin dependencies.<\/p>\n\n<h4>0.5.0<\/h4>\n\n<p>Prevent undesired updates when used with other service worker supported plugins for WordPress.<\/p>\n\n<h4>0.4.0<\/h4>\n\n<p>New smart update algorithm minifies the number of background downloads when adding new content.<\/p>\n\n<h4>0.3.0<\/h4>\n\n<p>Cleaning old caches when changing the name of the cache where offline content is stored.<\/p>\n\n<h4>0.2.0<\/h4>\n\n<p>Now can be combined with other WP plugins using the <a href=\"https:\/\/github.com\/mozilla\/wp-sw-manager\/blob\/master\/README.md\">WordPress Service Worker Manager library<\/a> such as <a href=\"https:\/\/wordpress.org\/plugins\/web-push\/\">Web Push<\/a>.<\/p>\n\n<h4>0.1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Allow your users to read your content even while offline.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41838"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/delapuente"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41838"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41838"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41838"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41838"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41838"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}