Title: Offline Shell
Author: David Walsh
Published: <strong>9 de març de 2016</strong>
Last modified: 14 de març de 2016

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Offline Shell

 Per [David Walsh](https://profiles.wordpress.org/davidwalsh83/)

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

 * [Detalls](https://ca.wordpress.org/plugins/offline-shell/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/offline-shell/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/offline-shell/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/offline-shell/#developers)

 [Suport](https://wordpress.org/support/plugin/offline-shell/)

## Descripció

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.

## Captures

[⌊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

## Instal·lació

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.

## PMF

  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

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Offline Shell» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

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

[Traduïu «Offline Shell» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/offline-shell)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/offline-shell/), 
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/offline-shell/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/offline-shell/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/offline-shell/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

## Meta

 *  Versió **0.4.0**
 *  Darrera actualització **fa 10 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 3.0.1 o posterior **
 *  Provada fins a **4.4.34**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/offline-shell/)
 * Etiquetes
 * [cache](https://ca.wordpress.org/plugins/tags/cache/)[offline](https://ca.wordpress.org/plugins/tags/offline/)
   [performance](https://ca.wordpress.org/plugins/tags/performance/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/offline-shell/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/offline-shell/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/offline-shell/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://davidwalsh.name)