DEV Community

Turn Your Website into a PWA

Luca Spezzano on October 08, 2019

According to this article by CNBC, Nearly three-quarters of the world will use just their smartphones to access the internet by 2025. Considering ...
Collapse
 
kaushalgautam profile image
Kaushal Gautam

This was like a click bait. It used up one of my premium stories for medium this month. I'm sure that was not the intention, but a warning/heads up would be nice.

Collapse
 
pavelloz profile image
Paweł Kowalski • Edited

Welcome to modern marketing and content distribution ;-)

PS. Not that i visit medium often, but just in case you do, this is an interesting open source project: github.com/manojVivek/medium-unlim...

--

After reading the article i must say it has very limited practical value.
Caching google fonts css in SW that has references to fonts? Writing manifest by hand? I guess its good enough if you are aiming at green checkmark in lighthouse.

Looks like a typical article written because thats what is trending in the tech world and will increase chance of "building audience" or "building the following".

Collapse
 
93lucasp profile image
Luca Spezzano

I don't think like that, don't you think that is useful to cache all the resources?

Thread Thread
 
pavelloz profile image
Paweł Kowalski

If you want to cache all the resources, open the css that you are caching in your article and see if you cached the fonts in there ;)

PS. Its much better to self-host fonts, you are reducing number of unique domains and one resolve, because you can define font-faces in your css, not ask google for it.

Thread Thread
 
93lucasp profile image
Luca Spezzano • Edited

thanks for the feedback :)

Collapse
 
93lucasp profile image
Luca Spezzano

medium.com/notonlycss/turn-your-we... you can read here also ;) Sorry but I can't change the rules of medium :)

Collapse
 
larsklopstra profile image
Lars Klopstra ⚡

Just use incognito 🙊

Collapse
 
byrro profile image
Renato Byrro

Exactly. Medium didn't think well about their pay wall.

Incognito solves my problem easily. But now I can't provide feedback on claps or comments, which only hurts their platform on many levels...

One of the dumbest monetization strategies I've seen recently.

Collapse
 
bayuangora profile image
Bayu Angora • Edited

I have PWA installed with good score on Lighthouse. But when I check it here -> pwabuilder.com/

I got a warning on this part ->
X Service Worker has a pushManager registration

Can you give me the code to fix this issue?

Collapse
 
sohammondal profile image
Soham Mondal • Edited

Their website itself is not optimized for the mobile. 😒

Collapse
 
iceorfiresite profile image
Ice or Fire

Is pwabuilder completely free?

Collapse
 
bayuangora profile image
Bayu Angora

Yes, it's free. Just enter your domain and follow step by step to install it on your website.

Collapse
 
93lucasp profile image
Luca Spezzano

What do you mean for pwabuilder?

Collapse
 
93lucasp profile image
Luca Spezzano

Lighthouse gives you all checked?

Collapse
 
bayuangora profile image
Bayu Angora

You can check my score here ->
webpagetest.org/result/191003_5Q_1...

Thread Thread
 
93lucasp profile image
Luca Spezzano

That's cool :) I think it is correct then, I don't know what other tools need!

Collapse
 
codemouse92 profile image
Jason C. McDonald

We encourage the entire article to be published on DEV.to (if you have proper rights), with a linkback if appropriate. Otherwise, we recommend original material, such as an original commentary on the article. From the Terms of Use:

Users must make a good-faith effort to share content that is...not designed primarily for the purposes of promotion or creating backlinks. Additionally, posts must contain substantial content — they may not merely reference an external link that contains the full post.

Posts that are simply intended to encourage readers to view an external resource are discouraged.

Thank you.