{"id":42453,"date":"2016-03-09T02:42:02","date_gmt":"2016-03-09T02:42:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/offline-shell\/"},"modified":"2016-03-14T17:59:47","modified_gmt":"2016-03-14T17:59:47","slug":"offline-shell","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/offline-shell\/","author":10274346,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.0","stable_tag":"trunk","tested":"4.4.34","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Offline Shell","header_author":"David Walsh","header_description":"","assets_banners_color":"d53c31","last_updated":"2016-03-14 17:59:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/davidwalsh.name","header_plugin_uri":"https:\/\/github.com\/mozilla\/offline-shell","header_author_uri":"https:\/\/davidwalsh.name","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3160,"num_ratings":0,"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":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1368862","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1368862","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1368862","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1368862","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.0","0.2.1","0.2.2","0.2.3","0.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1368867","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1368867","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1368867","resolution":"3","location":"assets"}},"screenshots":{"1":"File selection screen -- the admin may choose which files to cache","2":"The Network tab of DevTools shows that the files have been retrieved from cache instead of network","3":"Debug displays in the console so you know what is and isn't being cached"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,2323,247],"plugin_category":[52,54,59],"plugin_contributors":[83099,90052],"plugin_business_model":[],"class_list":["post-42453","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-offline","plugin_tags-performance","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_category-utilities-and-tools","plugin_contributors-davidwalsh83","plugin_contributors-mozillawebapps","plugin_committers-davidwalsh83"],"banners":{"banner":"https:\/\/ps.w.org\/offline-shell\/assets\/banner-772x250.png?rev=1368862","banner_2x":"https:\/\/ps.w.org\/offline-shell\/assets\/banner-1544x500.png?rev=1368862","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/offline-shell\/assets\/icon-128x128.png?rev=1368862","icon_2x":"https:\/\/ps.w.org\/offline-shell\/assets\/icon-256x256.png?rev=1368862","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/offline-shell\/assets\/screenshot-1.png?rev=1368867","caption":"File selection screen -- the admin may choose which files to cache"},{"src":"https:\/\/ps.w.org\/offline-shell\/assets\/screenshot-2.png?rev=1368867","caption":"The Network tab of DevTools shows that the files have been retrieved from cache instead of network"},{"src":"https:\/\/ps.w.org\/offline-shell\/assets\/screenshot-3.png?rev=1368867","caption":"Debug displays in the console so you know what is and isn't being cached"}],"raw_content":"<!--section=description-->\n<p>Offline Shell is a WordPress plugin which utilizes the client side <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Service_Worker_API\/Using_Service_Workers\" title=\"Learn more\">ServiceWorker API<\/a> to cache theme files for performance and offline purposes.<\/p>\n\n<p>The WordPress admin can select which files to cache, update the cache list at any time, and see their site performance improve while ensuring important assets are available offline.<\/p>\n\n<!--section=installation-->\n<p>Installation of the plugin is simple:<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wp-offline-shell<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;Offline Shell screen to configure the plugin<\/li>\n<li>Check the \"Enable Service Worker\" checkbox and then select individual files you'd like cached.  These assets should be files you use on most pages.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Does this plugin allow for offline reading of content?<\/dt>\n<dd><p>No, but couple this plugin with the <a href=\"https:\/\/wordpress.org\/plugins\/offline-content\/\">Offline Content<\/a> plugin and you can have functioning pages and assets offline.<\/p><\/dd>\n<dt>Does this plugin modify my theme files?<\/dt>\n<dd><p>Absolutely not -- no files are modified or generated by this plugin.<\/p><\/dd>\n<dt>When should the theme file options be updated?<\/dt>\n<dd><p>It's best to update the plugin file options when you've added a new file to your theme that you'd like cached.  Files that change or are deleted will be automatically detected and will not create problems within the service worker.<\/p><\/dd>\n<dt>Can I provide feedback?<\/dt>\n<dd><p>Of course! Service Workers are an emerging technology so this plugin should be updated often based on feedback from developers using WordPress in different ways<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Added option for cache vs. network race<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Added option for cache+network race<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Don't try to normalize request because it may cause a illegal referrer problem<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Loading file listing via AJAX for faster admin load<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Adding logic to clear storage for old URLs within the service worker<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release of plugin<\/li>\n<\/ul>","raw_excerpt":"Offline Shell is a WordPress plugin which utilizes the client side [ServiceWorker API](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Service_Worker &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42453"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/davidwalsh83"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42453"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42453"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42453"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42453"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42453"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}