From the course: JavaScript: Progressive Web Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Debugging with Chrome DevTools - JavaScript Tutorial
From the course: JavaScript: Progressive Web Applications
Debugging with Chrome DevTools
- [Instructor] Let's perform another audit on this site. If need be, click on the Audits tab of the dev tools and then the plus sign to perform a new audit. And then you can click run audits. Excellent, we're now scoring 91 on the PWA audit. Let's scroll down and see if we failed any audits. You'll find that the only audit we failed was requiring HTTPS for the PWA. But we knew were gonna fail that one as we're using local host for testing. To pass that audit, you'll need to upload your PWA to a secure server and configure it properly. Let's scroll down to the best practices section and see what happened there. In the best practices area, it looks like we failed two audits. The first indicates that the PWA isn't using HTTP/2 to serve resources. There's isn't much we can do about that because we're using the embedded lightweight web server from Net Beans. It uses HTTP/1.1. To pass this audit, we'll need to serve the site from an HTTP/2 server. The second failed audit indicates that a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Registering a service worker6m 25s
-
(Locked)
The install event and caches9m 29s
-
(Locked)
Activating the service worker5m 26s
-
(Locked)
Intercepting requests using Fetch5m 59s
-
(Locked)
Install banner behavior2m 16s
-
(Locked)
Designing the install banner7m 25s
-
(Locked)
Implementing the install banner7m 32s
-
(Locked)
Debugging with Chrome DevTools4m 59s
-
(Locked)
More Chrome DevTools1m 51s
-
(Locked)
Debugging with Safari and the iOS Simulator5m 50s
-
(Locked)
-
-
-
-