{"id":20841,"date":"2016-05-07T07:10:43","date_gmt":"2016-05-07T07:10:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/application-cache-plugin\/"},"modified":"2012-11-20T10:07:22","modified_gmt":"2012-11-20T10:07:22","slug":"application-cache-plugin","status":"closed","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/application-cache-plugin\/","author":10858047,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"","stable_tag":"trunk","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2012-11-20 10:07:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":4.7,"author_block_rating":0,"active_installs":10,"downloads":2181,"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":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"627609","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"627609","resolution":"2","location":"assets"}},"screenshots":{"1":"Settings for the application-cache-plugin. The current theme folder gets cached by default. You can alse exclude filetypes (default is .less .sass)","2":"Appcache-plugin in action (See the events \"Application Cache Caced event\")"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-20841","plugin","type-plugin","status-closed","hentry","plugin_committers-moolen"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/application-cache-plugin.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/application-cache-plugin\/assets\/screenshot-1.png?rev=627609","caption":"Settings for the application-cache-plugin. The current theme folder gets cached by default. You can alse exclude filetypes (default is .less .sass)"},{"src":"https:\/\/ps.w.org\/application-cache-plugin\/assets\/screenshot-2.png?rev=627609","caption":"Appcache-plugin in action (See the events \"Application Cache Caced event\")"}],"raw_content":"<!--section=description-->\n<p>This plugin creates a dynamic HTML5 application cache manifest for each site and blogpost of your wordpress blog.<\/p>\n <p>Features so far: \n- Sidebar-Widgets, Sites and Posts are cached. - The Index Site of your Blog gets fully cached. - Support for the Advanced Customfields Plugin (only tested w\/ standard version + repeater plugin) - On \"Save post\" event a new Appcache manifest will be generated (so the clients will update the content)<\/p>\n <p>What this plugin can not do: - Cache youtube videos. - fix dead links<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the appcache\/ folder to your \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>manifest=\"&lt;?php echo site_url(); ?&gt;\/wp-content\/plugins\/appcache\/manifest.appcache.php?appcache_id=&lt;?php echo the_ID().\"&amp;referrer=\".urlencode($_SERVER['SCRIPT_URL']); ?&gt;\"<\/code> in your header.php INSIDE the html tag. It should look like this: <code>&lt;html manifest=\"...php stuff...\"&gt;<\/code><\/li>\n<li>test it (look below in the FAQ)<\/li>\n<li>Thats it, but feel free to look at settings -&gt; appcache in your admin interface. There are a few settings you can do<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How to Debug \/ look at the appcache \/ Is it working?<\/h4>\n <p>Its easy in Google Chrome: \n- Debug by CMD+ALT+J for Javascript console. \n- You can see the events fired up by the appcache manifest. Read them carefully! - <strong>If you get a HTTP 404 on any link to a img: the site wont get cached.<\/strong>\n- type <code>chrome:\/\/appcache-internals\/<\/code> in your addressbar to look at all HTML5-Cached Sites. - If nothing is there be sure to look at the manifest. If any error is thrown there please send me an email with a link to the manifest.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>initial commit<\/li>\n<\/ul>","raw_excerpt":"This plugin creates a dynamic appcache manifest.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20841"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/moolen"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20841"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20841"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20841"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20841"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20841"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}