이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Offline Content

설명

This plugin uses new ServiceWorker and Cache API 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.

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.

설치

  1. Download and install the plugin from the WordPress.org plugin directory
  2. Activate the plugin through the “Plugins” menu in WordPress Dashboard.

Alternatively,

  1. Clone or download the project repository
  2. Copy wp-offline-content directory inside your WordPress installation plugins directory
  3. Enable the plugin from the admin panel

FAQ

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.

후기

2018년 1월 2일
很酷,但是为什么这么久没有更新呢,我决定要贡献一些代码。
2017년 9월 23일
Does what is says, now my wordpress based PWA will 100% pass lighthouse PWA audit in Chrome DevTools. Amazing work, kudos on this guys.
2017년 7월 7일
best way to turn your simple wp instal into a pwa.. im really grateful for the developers .. thank you! i wish some feature request... would be nice an update couse since last year this api evolved.. maybe ability to : 1.set background sync.. 2.ability to chose betven a race the request whatever return faster serv that... or: to chose chase only or server only or server first or case first..then update in background .. this settings would be nice... also maybe we could declare what is to be chased.. in case i want someting specific what wasn't cased before.. or: pre render pages ... so on.. this plugin so exiting has soo much potential.. just need a bit more developing maybe.. or just make a new plugin doing the same with more option .. se we could have a bare minimal .. and one with the extra settings.. depend on what ewer people usecase better.. i really wish somebody out there developer read this and soon we get an update.. but in the mean time... again thank you guys really apprichite your work.!! peace rg
모든 5 평가 읽기

기여자 & 개발자

“Offline Content”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Offline Content”(이)가 2(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Offline Content”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.6.1

Includes latest Service Worker Manager which fixes a problem unregistering the service worker when all plugins using it are disabled.

0.6.0

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.

0.5.0

Prevent undesired updates when used with other service worker supported plugins for WordPress.

0.4.0

New smart update algorithm minifies the number of background downloads when adding new content.

0.3.0

Cleaning old caches when changing the name of the cache where offline content is stored.

0.2.0

Now can be combined with other WP plugins using the WordPress Service Worker Manager library such as Web Push.

0.1.0

Initial release.