更新时间:2021-08-05 10:34:05
封面
Title Page
Copyright and Credits
Progressive Web Application Development by Example
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Introduction to Progressive Web Apps
Why we needed a new way to build websites
Real-world PWA examples
What are PWAs?
Peak app
PWA features
PWA advantages
PWA technical requirements
The application shell
2048
The source code
The application's code structure
Adding node modules to the project
Adding a manifest
Adding a service worker
Summary
Creating a Home Screen Experience with a Web Manifest
Why add to homescreen is important
Making your PWA iOS web app capable
The application title is set with another META tag
The web manifest specification
Referencing the web manifest file
Web manifest properties
Controlling the launch style
Apple Safari web manifest support
Validating web manifest files
The Chrome improved add to homescreen experience
The add to homescreen experience
The Chrome add to homescreen experience
Your add to homescreen responsibilities
Disabling the homescreen prompt
Tracking homescreen installs
Polyfiling the homescreen experience on iOS and other legacy browsers
Should you polyfil response caching?
Microsoft Edge and Internet Explorer
Benefits await without Polyfils
Testing the add to homescreen experience in Chrome
Making Your Website Secure
SSL history
How does TLS work?
What is HTTPS?
HTTPS advantages
Identity
Confidentiality
Integrity
Browsers are going out of their way to indicate HTTPS to the customer
Search engine optimization
No longer cost-prohibitive
Modern APIs require HTTPS
HTTPS can be significantly faster than HTTP
HTTPS adoption
Different types of SSL certificate
Domain-validated certificates
Organization-validated certificates
Extended-validation SSL certificates
How to obtain and install an SSL certificate
Migrating a website to HTTPS
Auditing the site for any HTTP:// link references
Auditing content and data
Updating social media links
Configure server auto-redirect of HTTP to HTTPS
Add and verify all domain protocol combinations in webmaster tools
Defining a canonical HTTPS link
Updating Google analytics to default to HTTPS
Updating the sitemap and RSS feed to HTTPS
Updating your robots.txt file
Service Workers – Notification Synchronization and Our Podcast App
The service worker thread
Service worker browser support
Microsoft Edge service worker support
Safari service worker support
Is the service worker ready?
Polyfilling older browsers
The podcast application
The Fetch API
Introducing Fetch
Using the Fetch API
The response object