Linux 软件免费装

WP Appcache

开发者 jacklenox
更新时间 2014年8月14日 18:34
PHP版本: 3.6 及以上
WordPress版本: 3.9.2
版权: GPL2
版权网址: 版权信息

标签

caching html5 appcache application cache

下载

0.1.2 0.1.3

详情介绍:

This plugin allows your site to make use of HTML5's Application Cache. The HTML5 Application Cache is supported by almost all browsers (save for IE9 and below). When a site uses it, visitors' browsers download (or cache) content from that site into memory. Entire pages can be downloaded and stored. The browser will then load the cached pages from memory ahead of trying to contact the server. This means that pages load incredibly quickly (sometimes less than 100ms). Once a page has loaded, the browser will then perform a background check to see if any content has changed on the site. If it has, that content is automatically loaded into memory too. Any cached content is available offline. In the case of a user browsing your site on a mobile device, they will still be able to view any content from your site (that they have already viewed) at lightning speeds. Even with a poor connection. The important drawback to note here is that the cache is consulted before the server. This means that if content has changed, it won't be immediately reflected (the user would have to refresh again). However, this plugin has discreet workarounds to mostly prevent this happening. This plugin takes a pragmatic approach and doesn't include any files in the manifest. It therefore only uses implicit caching. This means caching anything that the user actually visits. This may be improved upon in future releases. This plugin also makes use of the WordPress Heartbeat API to continue background updates of the cache. This means that in the event of a user, for example, reading a post on your website. When you add a new post, the cache will be updated while they're reading and when they return to the homepage, the new post will appear (if you have posts on your homepage of course). Demo See this plugin in action at this demo site: http://wp-appcache-demo.haveposts.com/

安装:

  1. Install the plugin directly from your dashboard or upload it to your plugins directory
  2. Activate the plugin through the 'Plugins' menu in your dashboard
  3. Sit back, relax, and let the caching commence

常见问题:

Why doesn't this plugin have any settings?

There don't really need to be any at this stage.

Does this plugin cache the dashboard too?

Not yet, but I'm experimenting with this right now, and it's looking pretty awesome!

What does this plugin place in the manifest file?

Nothing. The value of this plugin is entirely derived from implicit caching. I.e. anything that the user looks at on your site will be cached.

更新日志:

0.1.3 0.1.2