Using LightHouse to validate your PWA

Official Content
This documentation is valid for:

Lighthouse is an automated tool for improving the quality of your Progressive Web Apps. It can be easily run from Chrome DevTools.

Running under HTTPS is mandatory, and all the redirections have to be done to HTTPS, so you have to add the following rule for redirection in the web.config file:

       <clear />
       <rule name="Redirect to https" stopProcessing="true">
        <match url=".*" />
           <add input="{HTTPS}" pattern="off" ignoreCase="true" />
        <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />