the Rising - Paul Li === > 請從這裡開始 ## PWA - APP like - Offline capability - Notification - Work on all device ## How - mobile web - manifest - install capability - cache API - offline brows - web push - notification ## AMP ## Manifest relative-application ## Cache API service-worker.js 減少 request 產生,加速 render tree 產生 ``` cache.addAll {} ``` offline brows capability cache 無 GC 機制 -> 建議使用 Workbox Workbox - Pre-cache - Array type: file to cache - Runtime caching - Expiration plugin - Strategies - Request routing - Background sync - Re-send after re-connect to server ## Web push AMP: Web push function - visibility="subscript" ###### tags: `DevFest2019`