Title: Offline Shell
Author: David Walsh
Published: <strong>2016 年 3 月 9 日</strong>
Last modified: 2016 年 3 月 14 日

---

搜尋外掛

![](https://ps.w.org/offline-shell/assets/banner-772x250.png?rev=1368862)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/offline-shell/assets/icon-256x256.png?rev=1368862)

# Offline Shell

 由 [David Walsh](https://profiles.wordpress.org/davidwalsh83/) 開發

[下載](https://downloads.wordpress.org/plugin/offline-shell.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/offline-shell/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/offline-shell/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/offline-shell/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/offline-shell/#developers)

 [技術支援](https://wordpress.org/support/plugin/offline-shell/)

## 外掛說明

Offline Shell is a WordPress plugin which utilizes the client side [ServiceWorker API](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers)
to cache theme files for performance and offline purposes.

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.

## 螢幕擷圖

[⌊File selection screen -- the admin may choose which files to cache⌉⌊File selection
screen -- the admin may choose which files to cache⌉[

File selection screen — the admin may choose which files to cache

[⌊The Network tab of DevTools shows that the files have been retrieved from cache
instead of network⌉⌊The Network tab of DevTools shows that the files have been retrieved
from cache instead of network⌉[

The Network tab of DevTools shows that the files have been retrieved from cache 
instead of network

[⌊Debug displays in the console so you know what is and isn't being cached⌉⌊Debug
displays in the console so you know what is and isn't being cached⌉[

Debug displays in the console so you know what is and isn’t being cached

## 安裝方式

Installation of the plugin is simple:

 1. Upload the plugin files to the `/wp-content/plugins/wp-offline-shell` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Offline Shell screen to configure the plugin
 4. 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.

## 常見問題集

  Does this plugin allow for offline reading of content?

No, but couple this plugin with the [Offline Content](https://wordpress.org/plugins/offline-content/)
plugin and you can have functioning pages and assets offline.

  Does this plugin modify my theme files?

Absolutely not — no files are modified or generated by this plugin.

  When should the theme file options be updated?

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.

  Can I provide feedback?

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

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Offline Shell〉的開發相關工作。

參與者

 *   [ David Walsh ](https://profiles.wordpress.org/davidwalsh83/)
 *   [ Mozilla Web Apps ](https://profiles.wordpress.org/mozillawebapps/)

[將〈Offline Shell〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/offline-shell)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/offline-shell/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/offline-shell/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/offline-shell/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/offline-shell/)。

## 變更記錄

#### 0.4.0

 * Added option for cache vs. network race

#### 0.4.0

 * Added option for cache+network race

#### 0.3.0

 * Don’t try to normalize request because it may cause a illegal referrer problem

#### 0.2.2

 * Loading file listing via AJAX for faster admin load

#### 0.1.1

 * Adding logic to clear storage for old URLs within the service worker

#### 0.1

 * Initial release of plugin

## 中繼資料

 *  版本 **0.4.0**
 *  最後更新 **10 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.4.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/offline-shell/)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[offline](https://tw.wordpress.org/plugins/tags/offline/)
   [performance](https://tw.wordpress.org/plugins/tags/performance/)
 *  [進階檢視](https://tw.wordpress.org/plugins/offline-shell/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/offline-shell/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/offline-shell/reviews/)

## 參與者

 *   [ David Walsh ](https://profiles.wordpress.org/davidwalsh83/)
 *   [ Mozilla Web Apps ](https://profiles.wordpress.org/mozillawebapps/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/offline-shell/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://davidwalsh.name)