Linux 软件免费装
Banner图

PWA (渐进式Web应用)

开发者 google
xwp
westonruter
albertomedina
rtcamp
更新时间 2024年11月12日 06:23
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

pwa progressive web apps service workers web app manifest

下载

0.7.0 0.8.0 0.7.1 0.4.0 0.5.0 0.3.0 0.2.0 0.1.0 0.6.0 0.8.1 0.8.2

详情介绍:

Progressive Web Apps are user experiences that have the reach of the web, and are:
  • 可靠 - 即使在不确定的网络条件下,也能立即加载并且从不显示 downasaur。
  • Fast - 通过丝滑流畅的动画和无卡顿的滚动快速响应用户交互。
  • Engaging感觉就像设备上的自然应用程序,具有身临其境的用户体验。
This new level of quality allows Progressive Web Apps to earn a place on the user's home screen.
Continue reading more about Progressive Web Apps (PWA) from Google. 通常,PWA 取决于以下可用技术: This plugin serves as a place to implement support for these in WordPress with the intention of being proposed for core merge, piece by piece. Case in point, the HTTPS functionality from this plugin has largely been made part of Core: Improved HTTPS detection and migration in WordPress 5.7. 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. In versions prior to 0.6, no caching strategies were added by default. The only service worker behavior was to serve an offline template when the client's connection is down or the site is down, and also to serve an error page when the server returns with 500 Internal Server Error. As of 0.6, there is a new “Offline browsing” toggle on the Reading Settings screen in the admin. It is disabled by default, but when enabled a network-first caching strategy is registered for navigations so that the offline page won't be shown when accessing previously-accessed pages. The network-first strategy is also used for assets from themes, plugins, and WordPress core. In addition, uploaded images get served with a stale-while-revalidate strategy. For all the details on these changes, see the pull request. 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.

更新日志:

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