jekyll-offline
jekyll-offline copied to clipboard
What exactly does this do?
Is the use case for people visiting websites, or people doing development?
@wslack The use case is for folks visiting the websites. Once they load the site, the service worker will be registered and cache content on their device. This will enable web site visitors to read the content offline/without a network connection.
I think it would be helpful/interesting to define specific use cases for sites or pages that this makes the most sense for. Service workers make more sense on certain sites, imo.
Also, is it a good idea to cache all pages of a Jekyll website with more than 500 posts, for example?
https://nicolas-hoizey.com/2017/01/how-much-data-should-my-service-worker-put-upfront-in-the-offline-cache.html
Could it be possible to cache only recent posts, with a configurable "age"?