service-workers
offline-plugin
service-workers | offline-plugin | |
---|---|---|
1 | 2 | |
1,273 | 4,503 | |
- | - | |
2.8 | 0.0 | |
about 2 months ago | over 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
service-workers
-
Unit testing service workers
This code sample is an enhancement on top of Service Worker Mock. Service Worker Mock explains how to write unit tests for service works. Since it is not maintained any more, I am writing this code sample to unblock ourselves from the current issues in that library. Tests are written using the sample service worker given at service worker example
offline-plugin
-
Meteor with Webpack in 2018 — Faster compilation and better source handling
For example, you have a Progressive Web Application using Service Workers, written in Angular, then you have to create a service worker manifest based on your output files. We don’t have a solution for this on Meteor CLI natively. However, Webpack has a lot of community plugins such as OfflinePlugin , Workbox and many others for this problem as a solution. Just install them, and add to your webpack.config.js . Meteor-Webpack will handle it like you’re working on a pure Webpack project.
-
12 open source browser tools and how I've built them
Since Omatsuri is a browser only application the only thing that we need from service worker is to cache assets and provide app shell. Offline plugin does exactly that, the only thing we need to do – add it to the production build in webpack config:
What are some alternatives?
unit-test-service-worker - Writing unit tests for service workers made easy.
pwa-quasar-local - This project demonstrates how to develop a Progressive Web Application (PWA) locally on an Android device, using the Quasar Framework v2.
workbox - 📦 Workbox: JavaScript libraries for Progressive Web Apps
kiwix-js-pwa - Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
next-pwa - Zero config PWA plugin for Next.js, with workbox 🧰
angular-cli - CLI tool for Angular
samples - A repo containing samples tied to new functionality in each release of Google Chrome.
react-refresh-webpack-plugin - A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
next-offline - make your Next.js application work offline using service workers via Google's workbox
webpack-dev-middleware - A development middleware for webpack
webpack-require-from - Webpack plugin that allows to configure path or URL for fetching dynamic imports
Speed Measure Plugin - ⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds