Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Offline Shell

Description

Offline Shell is a WordPress plugin which utilizes the client side ServiceWorker API 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 d’écran

  • 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
  • Debug displays in the console so you know what is and isn’t being cached

Installation

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.

FAQ

Does this plugin allow for offline reading of content?

No, but couple this plugin with the 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

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

« Offline Shell » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Offline Shell » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

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