Tải tức thì: Xây dựng các ứng dụng web tiến bộ có chế độ ngoại tuyến – Google I/O 2016
Jake Archibald bật tính năng Tải tức thì: Xây dựng ứng dụng web tiến bộ ưu tiên ngoại tuyến
Đối với hầu hết web, khả năng kết nối mạng kém sẽ làm hỏng trải nghiệm người dùng. Chúng tôi có thể làm tốt hơn. Trong buổi này, chúng ta sẽ xem xét một trang web chỉ hoạt động trực tuyến và chuyển trang web đó thành một ứng dụng web tiến bộ, có thể khôi phục bằng chế độ ngoại tuyến và có khả năng khôi phục hoàn toàn. Thao tác này sẽ không bao gồm việc tạo lại từ đầu; việc này sẽ được thực hiện trong vài bước nhỏ, với mỗi bước giúp cải thiện trải nghiệm người dùng dù họ ngoại tuyến, trực tuyến hay bất kỳ thiết bị nào khác. Phiên này sẽ đề cập đến ServiceWorker, tệp kê khai web, biểu ngữ thêm vào màn hình chính, API IndexedDB và API SyncSync.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-09 UTC."],[[["This session focuses on transforming an online-only website into a resilient, offline-first Progressive Web App (PWA) through iterative improvements."],["The techniques demonstrated enhance user experience across all network conditions, including offline, online, and intermittent connectivity."],["Service Workers, web manifests, add-to-homescreen banners, IndexedDB, and Background Sync APIs are among the technologies covered."]]],["The session demonstrates how to transform an online-only website into an offline-first, installable progressive web app incrementally, without a complete rebuild. It focuses on enhancing the user experience across various network conditions. Key actions include using ServiceWorker, web manifests, add-to-homescreen banners, IndexedDB, and BackgroundSync APIs. The talk emphasizes network resilience and improved user experience, even when offline. Additional links to Google I/O 2016 related contents and social channels were provided.\n"]]