I'm making this theme open source for learning purposes, please don't copy the theme for your own blog :)
This video series is about how I made this blog "offline-first". You can see my process by following along with the video series:
Introduction & Ghost Theme Setup |
Saving Pages to Cache Storage |
Creating an Offline Page |
Service Worker & Serving Offline Pages |
Handling Assets while Offline |
If you're following along with the video series, these are the files we'll be working with:
src/js/global/register-sw.js
src/js/post/save-article.js
/sw.js
- Everything in
/tutorial-snippets
directory