Lighthouse は、Progressive Web Application の品質を高めるための自動ツールです。Chrome DevTools から簡単に実行できます。
HTTPS の使用が必須であり、リダイレクトをすべて HTTPS に向ける必要があるため、web.config ファイルに次のリダイレクトルールを追加する必要があります:
<system.webServer>
...<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url=".*"/>
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
|