question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lower the installable-manifest icon requirement to 144px, add audits for A2HS in other browsers

See original GitHub issue

Lighthouse suggest to Developers to use 512px by 512px .png files for the icons in the manifest file. You can see the following information recommendation by Lighthouse found here: https://developers.google.com/web/tools/lighthouse/audits/custom-splash-screen#recommendations

This seems to be a complete waste of file size space and will give a negative performance to PWA’s and use up people’s Data Plans on Mobile networks.

Though I am not suggesting to not use 512px by 512px icons and maybe in the future we end up having 1024 x 1024 with Mobile devices getting better screen displays as time goes by.

I’m suggesting that using the .png format is not a good idea at all. In fact it would be better to use .jpg (for reduced file size) or the next gen image format .webp (for even better reduced file size and quality) or a vector such as .svg which would have the best quality displaying various icon sizes.

Please note I have filed an issue with the Google Chrome team found here: https://bugs.chromium.org/p/chromium/issues/detail?id=910880

I would like to see both Google Chrome and Lighthouse work together to create a solution by allowing Developers to use 512px by 512px icon sizes and better image formats .jpg or .webp or .svg thus saving Users Data and Speeding up the loading of a PWA.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:19 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
lafebercommented, Mar 18, 2019

Soo, I need to add a 512px png next to the following icons:

<!-- generics -->
<link rel="icon" href="/path/to/favicon-32.png" sizes="32x32">
<link rel="icon" href="/path/to/favicon-57.png" sizes="57x57">
<link rel="icon" href="/path/to/favicon-76.png" sizes="76x76">
<link rel="icon" href="/path/to/favicon-96.png" sizes="96x96">
<link rel="icon" href="/path/to/favicon-128.png" sizes="128x128">
<link rel="icon" href="/path/to/favicon-192.png" sizes="192x192">
<link rel="icon" href="/path/to/favicon-228.png" sizes="228x228">

<!-- Android -->
<link rel="shortcut icon" sizes="196x196" href=“/path/to/favicon-196.png">

<!-- iOS -->
<link rel="apple-touch-icon" href="/path/to/favicon-120.png" sizes="120x120">
<link rel="apple-touch-icon" href="path/to/favicon-152.png" sizes="152x152">
<link rel="apple-touch-icon" href="path/to/favicon-180.png" sizes="180x180">

<!-- Windows 8 IE 10-->
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/path/to/favicon-144.png">

<!— Windows 8.1 + IE11 and above —>
<meta name="msapplication-config" content="/path/to/browserconfig.xml" />

I need all the twitter:x and og:x meta tags too, which means I’m running into a problem with the maximum amount of tags in the head.

Can we please all agree on a favicon.svg standard which we can also use for the PWA?

1reaction
connorjclarkcommented, Dec 19, 2018

@charlymz Looks like your service worker is not installing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add to Home screen - Progressive web apps (PWAs) | MDN
Tapping this icon opens it up, but as a fullscreen app, you'll no longer see the browser UI around it. How do you...
Read more >
Pwa "Manifest Does Not Contain A Suitable Icon" - ADocLib
Web app manifest or service worker do not meet the installability ... Lower the installablemanifest icon requirement to 144px add audits for A2HS...
Read more >
Web app manifest does not meet the installability requirements
In the Lighthouse report UI the full PWA badge is given when you pass all of the audits in all of the PWA...
Read more >
How to Integrate Add to Home Screen Into Your PWA - SimiCart
We'll go over the reasons why Add to Home Screen (A2HS) is necessary, ... paths to different icons, background color, etc—in a JSON...
Read more >
PWA add to home screen not showing popup - Stack Overflow
The first step for Add to Home Screen (A2HS) automatic pop-up testing is using the lighthouse audit tools. You need to run the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found