The #ChromeDevSummit site is live, happening Nov 12-13 in San Francisco, CA
Check it out for details and request an invite. We'll be diving deep into modern web tech & looking ahead to the platform's future.

Manifest Contains Start URL

Overview

After your web app has been added to a user's homescreen, the start_url property in the Web App Manifest determines what page of your app loads first when the user launches your app from the homescreen.

If the start_url property is absent, then the browser defaults to whatever page was active when the user decided to add the app to the homescreen.

Recommendations

Add a start_url property in your Web App Manifest.

{
  ...
  "start_url": ".",
  ...
}

Check out Manifest Exists for a list of guides that teach you how to properly implement and test "Add to Homescreen" support in your app.

More information

Lighthouse fetches the manifest and verifies that it has a start_url property. The manifest that Lighthouse fetches is separate from the one that Chrome is using on the page, which can possibly cause inaccurate results.

Feedback

Was this page helpful?