Today: Use <link rel="manifest"> for PWA metadata and Service Workers for offline caching.
<link rel="manifest">
In <head>:
<head>
<link rel="manifest" href="manifest.json">
Sample manifest.json (Web App Manifest — JSON, not .appcache):
manifest.json
{ "name": "My App", "short_name": "App", "start_url": "/", "display": "standalone", "icons": [{ "src": "icon.png", "sizes": "192x192", "type": "image/png" }] }
This is not the deprecated manifest attribute on <html>. Offline files are cached via Service Worker scripts.
manifest
<html>
Lines: 0 | Characters: 0