This plugin provides PWA support for Jekyll. Generate a service worker and provide a precache and runtime cache with Google Workbox. Google Workbox has already developed a series of tools. If you use Webpack or Gulp as your build tool, you can easily generate a service worker with these tools. But in my blog, I don't want to use even npm, and I want to precache recent 10 posts so that they are offline available to visitors even though these posts were never opened by visitors before. That's why I try to integrate this function in Jekyll build process. This plugin supports Workbox V5 since v5.1.4. The API of Workbox V5 has changed a lot compared to previous versions, some more powerful functions added too.
Features
- This plugin is available as a RubyGem
- Run bundle to install the gem
- Write your own Service Worker
- Now you can write your own Service Worker with Workbox APIs
- This plugin won't generate a manifest.json
- This plugin will dispatch a custom event called sw.update
- We handle precache and runtime cache with the help of Google Workbox v5.1.4 in service worker
Categories
DesignLicense
MIT LicenseFollow Jekyll PWA Plugin
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll PWA Plugin!