目錄(97章)
倒序
- 封面
- 版權頁
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Learning Service Worker Basics
- Introduction
- Setting up service workers
- Setting up SSL for Windows
- Setting up SSL for Mac
- Setting up GitHub pages for SSL
- Registering a service worker
- Registering a service worker in detail
- Debugging
- Providing a stale version on error
- Creating mock responses
- Handling request timeouts
- Chapter 2. Working with Resource Files
- Introduction
- Displaying a custom offline page
- Loading images offline
- Loading CSS offline
- Loading fonts offline
- Implementing multiple fetch handlers
- Fetching remote resources
- Chapter 3. Accessing Offline Content
- Introduction
- Caching critical resources for offline use
- Showing cached content first
- Implementing a cache and network race
- Using window.caches
- Implementing stale-while-revalidate
- Chapter 4. Accessing Offline Content with Advanced Techniques
- Introduction
- Templating
- Implementing read-through caching
- Allowing offline Google Analytics
- Allowing offline user interaction
- Implementing selective caching
- Chapter 5. Reaching Beyond the Offline Cache
- Introduction
- Getting network responses offline
- Caching content from ZIP
- Selecting the best content provider (load balancer)
- Redirecting a request
- Setting request headers
- Making a service worker act like a remote server
- Making a service worker act as a dependency injector
- Forcing immediate control
- Implementing fallback responses
- Deferring offline requests
- Chapter 6. Working with Advanced Libraries
- Introduction
- Working with global APIs
- Implementing a circuit breaker
- Implementing a dead letter queue
- Logging API analytics
- Working with Google Analytics
- Chapter 7. Fetching Resources
- Introduction
- Fetching remote resources
- Fetching with FetchEvent
- Fetching a JSON file during service worker installation
- Proxying
- Prefetching
- Chapter 8. Experimenting with Web Push
- Introduction
- Implementing a simple push notification
- Showing rich notifications
- Using the notification tag
- Implementing push clients
- Subscribing to push notifications
- Managing push notification quotas
- Chapter 9. Looking at General Usage
- Introduction
- Taking immediate control of the page
- Working with slow responses
- Relaying messages
- Using a service worker as a proxy middleware
- Using a service worker with a live flowchart
- Chapter 10. Improving Performance
- Introduction
- Performing network requests from a cache
- Performing network requests from a network
- Testing waitUntil
- Implementing background sync
- Sending forward requests
- Avoiding model fetching and render times
- Index 更新時間:2021-07-14 10:05:44
推薦閱讀
- 解構產品經理:互聯網產品策劃入門寶典
- HTML5移動Web開發技術
- 微服務與事件驅動架構
- MySQL 8從入門到精通(視頻教學版)
- Twilio Best Practices
- Learning RabbitMQ
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- 深度學習:算法入門與Keras編程實踐
- Learning Data Mining with R
- 單片機應用與調試項目教程(C語言版)
- Bootstrap 4 Cookbook
- Arduino計算機視覺編程
- C語言程序設計
- Learning Unreal Engine Game Development
- ROS機器人編程實戰
- HTML5+jQuery Mobile移動應用開發
- KnockoutJS Essentials
- Java實踐指南
- 軟件測試實用教程
- 軟件系統優化
- 機器學習入門:Python語言實現
- HTML5 Web Application Development By Example Beginner's Guide
- NuGet 2 Essentials
- VMware vSphere Troubleshooting
- PHP開發自學經典
- Hands-On Design Patterns with React Native
- RavenDB 2.x Beginner's Guide
- PyTorch Computer Vision Cookbook
- Python Unlocked
- Learning Julia