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

Project Samples

Project Activity

See All Activity >

Categories

Design

License

MIT License

Follow Jekyll PWA Plugin

Jekyll PWA Plugin Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jekyll PWA Plugin!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Design Software

Registered

2023-09-07