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

Debugging with Chrome DevTools - JavaScript Tutorial

From the course: JavaScript: Progressive Web Applications

Start my 1-month free trial

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…

Contents