ivanvanderbyl / ember-hackernews-pwa

An Ember implementation of the HackerNews client as a Progressive Web App
https://hackernews.io
62 stars 14 forks source link

Stop Chrome complaining about unused preload #13

Closed tspacek closed 6 years ago

tspacek commented 6 years ago

According to https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/ you're meant to have an as="style" on preloads. They don't include rel="stylesheet" at all, but I assume that's for backwards compatibility.

tspacek commented 6 years ago

Before: screen shot 2017-08-27 at 1 07 24 pm

After: screen shot 2017-08-27 at 1 08 08 pm