Crea apps web que se instalan, funcionan sin conexión y se sienten nativas.

PWA.live es una referencia independiente y neutral sobre Progressive Web Apps: guías claras, compatibilidad actual de los navegadores, herramientas gratuitas que funcionan en tu navegador y las bibliotecas de código abierto que vale la pena usar.

Empezar a aprender Revisar mi PWA

Esta página, a través de su service worker PWA.live también es una PWA. Cada petición pasa por nuestro service worker. Desactiva la red para ver de dónde salen las respuestas.
Página Service worker Caché Redsin red

Observando peticiones…

  • Service workercomprobando…
  • Páginas en este dispositivo0
  • Ejecutándose como—

Empieza aquí

Todas las guías
  1. 1What is a PWA?Un sitio web que se instala como una app y sigue funcionando sin conexión.
  2. 2Build one from scratchFrom index.html to an installable, offline app in seven steps.
  3. 3Install criteriaWhat each browser needs before it shows "Install".
  4. 4Caching strategiesFive strategies, and which one fits each kind of request.
  5. 5iPhone and iPadThe full picture on Apple's mobile platforms.
  6. 6Web push notificationsFrom permission to notification, with working code.

Aprende por tema

Compatibilidad de un vistazo

Tabla completa
Compatibilidad de los navegadores con funciones de PWA
FunciónChrome / Edge desktopChrome AndroidSafari iOS / iPadOSSafari macOSFirefox desktopFirefox AndroidSamsung Internet
Install from the browser Chrome / Edge desktop: Sí (Address bar icon and menu) Chrome Android: Sí (Installs a WebAPK) Safari iOS / iPadOS: Sí (Share > Add to Home Screen (manual)) Safari macOS: Sí (File > Add to Dock (Safari 17+)) Firefox desktop: Parcial (Windows only, Firefox 143+) Firefox Android: Sí (Add to Home screen) Samsung Internet: Sí
beforeinstallprompt (own install button) Chrome / Edge desktop: Sí Chrome Android: Sí Safari iOS / iPadOS: No Safari macOS: No Firefox desktop: No Firefox Android: No Samsung Internet: Sí
Web Push Chrome / Edge desktop: Sí Chrome Android: Sí Safari iOS / iPadOS: Parcial (Home Screen web apps, iOS 16.4+) Safari macOS: Sí (Safari 16+ on macOS Ventura and later) Firefox desktop: Sí Firefox Android: Sí Samsung Internet: Sí
App badge (Badging API) Chrome / Edge desktop: Sí (Installed apps) Chrome Android: No Safari iOS / iPadOS: Parcial (Home Screen apps with notification permission) Safari macOS: Parcial (Web apps in the Dock) Firefox desktop: No Firefox Android: No Samsung Internet: No
Background Sync Chrome / Edge desktop: Sí Chrome Android: Sí Safari iOS / iPadOS: No Safari macOS: No Firefox desktop: No Firefox Android: No Samsung Internet: Sí
Share target (receive shares) Chrome / Edge desktop: Parcial (ChromeOS, and Edge on Windows) Chrome Android: Sí Safari iOS / iPadOS: No Safari macOS: No Firefox desktop: No Firefox Android: No Samsung Internet: Sí
File handlers Chrome / Edge desktop: Sí Chrome Android: No Safari iOS / iPadOS: No Safari macOS: No Firefox desktop: No Firefox Android: No Samsung Internet: No

Código abierto recomendado

Todos los proyectos de código abierto

Las bibliotecas que usaríamos primero, de un directorio con más de cincuenta proyectos en GitHub.

Service workersWorkboxGoogleChrome/workboxA set of libraries for service workers: precaching with revision hashes, routing, caching strategies, expiration, background sync and a window helper for updates. Service workersSerwistserwist/serwistA modern fork of Workbox, started because Workbox development had slowed. Plugins para frameworksvite-plugin-pwavite-pwa/vite-plugin-pwaZero-config PWA support for Vite: generates the manifest and a Workbox service worker with your build files precached, with update hooks for React, Vue, Svelte, Solid, Preact and Lit.. Instalación e interfazpwa-installkhmyznikov/pwa-installA web component with polished install dialogs: uses beforeinstallprompt in Chromium browsers, shows app gallery screenshots from your manifest, and gives step-by-step instructions on iOS, iPadOS and macOS Safari.. Empaquetado y tiendasPWABuilderpwa-builder/PWABuilderChecks your PWA and packages it for the Microsoft Store, Google Play, the Meta Quest store and iOS. Empaquetado y tiendasBubblewrapGoogleChromeLabs/bubblewrapA command-line tool that generates, builds and signs an Android app that opens your PWA in a Trusted Web Activity, ready for Google Play.. Empaquetado y tiendasCapacitorionic-team/capacitorRuns your web app inside native iOS and Android apps, with plugins for push, camera, files, haptics and more. Iconos e imágenesPWA Asset Generatorelegantapp/pwa-asset-generatorGenerates PWA icons, iOS splash screens, favicons and Windows tiles from one image using a headless browser, and can update your manifest and HTML automatically.. Notificaciones pushweb-push (Node.js)web-push-libs/web-pushSends Web Push messages from Node.js: VAPID signing, payload encryption and a CLI to generate VAPID keys.. Datos sin conexiónidbjakearchibald/idbA tiny wrapper that makes IndexedDB use promises, while keeping its full model (stores, indexes, transactions, cursors).. Datos sin conexiónDexie.jsdexie/Dexie.jsA friendly IndexedDB library with a clear query API, live queries for React, Vue, Svelte and Angular, and an optional sync service (Dexie Cloud).. Pruebas y rendimientoLighthouseGoogleChrome/lighthouseAudits performance, accessibility, best practices and SEO, in DevTools, from the command line or in Node.

Del blog

Leer el blog

Novedades de PWA que importan, de vez en cuando

Cambios en los navegadores que afectan a las apps web instalables, nuevas guías y herramientas, y un consejo práctico. Como mucho dos veces al mes.