PWA

Descripción

Progressive Web Apps are user experiences that have the reach of the web, and are:

  • Confiable – Carga inmediatamente y nunca muestra el downasaur, incluso en condiciones de red inciertas.
  • Rápido – Responde rápidamente a la interacción de usuario con animaciones suaves como la seda y sin desplazamiento a tirones.
  • Cautivador – Se percibe como una app natural en el dispositivo, con una experiencia de usuario inmersiva.

This new level of quality allows Progressive Web Apps to earn a place on the user’s home screen.

Sigue leyendo más acerca de aplicaciones web progresivas (PWA) en Google.

En general, un PWA depende de las siguientes tecnologías para estar disponible:

Este plugin sirve como un lugar de encuentro para dar soporte a aquellos en WordPress que tienen la intención de que sea propuesto para un merge con el core , pieza a pieza.

This feature plugin is not intended to obsolete the other plugins and themes which turn WordPress sites into PWAs. Rather, this plugin is intended to provide the PWA building blocks and coordination mechanism for these themes and plugins to not reinvent the wheel and also to not conflict with each other. For example, a theme that implements the app shell model should be able to extend the core service worker while a plugin that provides push notifications should be able to do the same. Themes and plugins no longer should have to each create a service worker on their own, something which is inherently problematic because only one service worker can be active at a time: only one service worker can win. If you are developing a plugin or theme that includes a service worker, consider relying on this PWA plugin, or at least only use the built-in implementation as a fallback for when the PWA plugin is not available.

Documentation for the plugin can be found on the GitHub project Wiki.

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

FAQ

Please see the frequently asked questions on the GitHub project wiki. Don’t see an answer to your question? Please search the support forum to see if someone has asked your question. Otherwise, please open a new support topic.

Reseñas

6 de julio de 2020
The plugin helped me to convert my blog in a PWA, only the short_name was an issue and fixed using the small plugin to include an extra field.
30 de mayo de 2020
I've been baking this into my themes and boilerplate manually for a while now. I'm stoked to see this on it's way to the core of WordPress. Thank you for your contributions!
24 de enero de 2020
I believe PWAs are the future of mobile, I am using this plugin as well as the Drupal PWA module on 3 different sites/apps currently. I like how this uses Workbox and wondering when will support for background sync be included. Very useful and customizable plugin as it is.
10 de octubre de 2019
Biggest speed improvement is when I added navigation pre-load filter: add_filter( 'wp_service_worker_navigation_caching_strategy', function() { return WP_Service_Worker_Caching_Routes::STRATEGY_STALE_WHILE_REVALIDATE; } ); add_filter( 'wp_service_worker_navigation_caching_strategy_args', function( $args ) { $args['cacheName'] = 'pages'; $args['plugins']['expiration']['maxEntries'] = 50; return $args; } ); Resulting in sub 200ms page load time! I'm also using it to cache images, css, js. Easy to update manifest as well through filter: function get_manifest_update( $manifest ) { /* $manifest = array( 'name' => wp_kses_decode_entities( get_bloginfo( 'name' ) ), 'start_url' => home_url( '/' ), 'display' => 'minimal-ui', 'dir' => is_rtl() ? 'rtl' : 'ltr', ); */ // Add argument to $manifest array $manifest['start_url'] .= 'en/page/support/'; $manifest['short_name'] = 'My App'; $manifest['name'] = 'Full name of app'; return $manifest; } add_filter( 'web_app_manifest', 'get_manifest_update' ); Hopefully this will be added to WP core soon! Thanks for making it easy to implement service workers with hooks as well, great way to introduce Devs to PWA!
Leer todas las 10 reseñas

Colaboradores y desarrolladores

«PWA» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«PWA» ha sido traducido a 4 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «PWA» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

For the plugin’s changelog, please see the Releases page on GitHub.