lavas-project / jekyll-pwa

Jekyll plugin for PWA
MIT License
107 stars 19 forks source link

Trying to make cache fetch work #21

Open Julianoe opened 5 years ago

Julianoe commented 5 years ago

Hello! I'm trying to get a grasp around PWAs and i'm using my personal website running with Jekyll to test that. I stumbled upon your plugin it seems to work partly but i wonder: shouldn't it allow offline fetch of the content? It does not seem to work. The service worker i manually wrote at first was not perfect but did that. I was looking for a way to generate the caching function automatically for all html files. Is this something that can be done with this tool?

souldanger commented 5 years ago

Hi Julianoe, yes it does work just fine. Visit one of my sites once, then turn your phone into 'airplane mode' and the site is still available offline: https://iridiumbrowser.de If you use the template service worker in the docs you will achieve the same result. Happy Jekylling!