PWA
Progressive Web Application
A web application using service workers and manifests to provide offline support, push notifications, and installability.
Detail Teknis
PWA is part of the web platform's core infrastructure. Modern browsers implement web through standardized Web APIs, ensuring consistent behavior across Chrome, Firefox, Safari, and Edge. The relevant specifications are maintained by the W3C, WHATWG, or IETF. Understanding the underlying protocol or mechanism helps developers use pwa correctly, avoid common pitfalls, and optimize for performance and security.
Contoh
```javascript
// PWA: web API example
const response = await fetch('/api/resource');
const data = await response.json();
console.log(data);
```