--- title: Re-engageable slug: conflicting/Web/Progressive_web_apps_cb2823fe6cfc1ddee5db1f6a5d240c67 tags: - Modern web apps - Notifications API - Progressive web apps - Push API - Service Workers translation_of: Web/Progressive_web_apps translation_of_original: Web/Progressive_web_apps/Re-engageable original_slug: Web/Progressive_web_apps/Re-engageable ---
技术 | 描述 | 浏览器支持 | 最新规范 |
---|---|---|---|
Service workers | JavaScript running in a special worker context that is run by the browser under certain circumstances such as fetch or push events. These allow the service worker to intercept responses and customise them in any way you want, for example caching assets for offline use before they are served. | Experimental: Chrome and Firefox (more detail) | {{SpecName('Service Workers')}} |
Push API | When subscribed to, the push service provides an endpoint that can be used by a server to send a push message to a web app under the control of a particular service worker. | Experimental: chrome and Firefox (more detail) | {{SpecName("Push API")}} |
Notifications API | Fires system notifications directly from web applications. | Widespreadin modern browsers (more detail) | {{SpecName('Web Notifications')}} |