Ever wondered how websites can serve content even when you're offline? 🤔 My GitHub repository, Offline Website, reveals the magic behind it!
- Creating a website that functions seamlessly without the internet.
- Serving a custom offline page when the connection is lost.
- Insights into how popular platforms like YouTube handle offline scenarios.
- how service workers and web cache storage work.
- git clone https://github.com/avinashtare/offline-website.git
- cd offline-website.
- open using any server.
- http://localhost:3000.
- Disconnect your device from the internet or stop server if local.
- now you can see side is working offline.
- online demo - https://offline-website-nine.vercel.app/
- Dive into the repository to understand the inner workings and implement similar functionality for your projects.
- start exploring from index.html
- explore more sw.js
Found it interesting? Show your support by starring the repository on GitHub!
This project is released under the MIT License.
卐🕉 Avinash Tare 🕉 卐