DEV Community

Christopher Toman
Christopher Toman

Posted on

5 2

Dev.to custom "Lost internet connection page"

""

Just lost internet connection and I visited https://dev.to and guess what, this cool custom "You don't have internet" page popped up :D with a Trump joke :D

I'm not from America, but FUCK YEAH!

Anyway, how it works? Can I experience this anywhere? The screen is from Chrome, so is just a feature of Chrome?

Happy Monday, everyone!

Top comments (2)

Collapse
 
wangonya profile image
Kelvin Wangonya

Hi Chris! To answer your question on how it works, (to the best of my knowledge), the page uses service worker to provide offline functionalities. You can read more about service worker here and here, and learn how to implement it in your project here.

Its not just a Chrome feature. Most web browsers now support it

Glad you liked the page. I did too :)

Collapse
 
k1pash profile image
Christopher Toman

Hey Kinyanjui,

thanks for the reply and the docs, this concept is very cool, just something warmer than the usual dinosaur.

Have a nice day!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay