offline-first-sw VS next-pwa

Compare offline-first-sw vs next-pwa and see what are their differences.


Service worker example with 404 handling, custom offline page and max TTL for specific file types. (by wildhaber)


Zero config PWA plugin for Next.js, with workbox 🧰 (by shadowwalker)
Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
offline-first-sw next-pwa
1 9
91 3,373
- -
0.0 0.0
over 1 year ago 3 months ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of offline-first-sw. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning offline-first-sw yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of next-pwa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-24.
  • Show HN: Duck, a chat-based note app for your knowledge base
    3 projects | | 24 Apr 2023
    Thank you for trying it and asking questions. Let me reply to them below.

    > Could you give a brief overview of how the project is built, or what libraries are used? I found two in the source, React and Workbox. I've never heard of Workbox before, and I'm still figuring out how service workers are used. But it seems like a big part of the source.

    For building, I used Next.js with static generation, not using Server-side rendering. But it's not an important part because it doesn't rely on Next.js features so much.

    About Workbox, the app uses them with next-pwa ( for providing caching strategies and offline behavior as Progressive Web App. For example, the app registers several precached files via Workbox. Precached files are fetched and cached by the service worker and these caches can be used while offline. Also, Workbox can configure runtime caching strategies. You can see details in Workbox documentation (

    The app also uses the Service Worker to connect IndexedDB as a local database and send HTTP requests to synchronize data with Google Drive. By using the Service Worker, these methods don't block the user interaction from the main thread and Service Worker can run in the background to synchronize data even if the browser window is suddenly closed.

  • PWA support in NextJs
    2 projects | /r/codehunter | 1 May 2022
    We tried to use next-offline and next-pwa, but we were only able to precache the static assets.
  • Precaching pages with next-pwa
    4 projects | | 22 Nov 2021
    It's possible that next-pwa might support precaching pages in the future. Subscribe to issue 252 to keep up to date on that.
  • Does anyone have any experience with making PWAs in Next?
    4 projects | /r/nextjs | 13 Apr 2021
    There's next-offline and next-pwa (and some comparison too). But has anyone here made a PWA with NextJS? Now I am not only referring to service workers/offline functionality, but also icons, adding to homescreen, manifest, and other PWA features. Does anyone have any good examples or guides to refer to?
  • I over-engineered my blog, and here’s what I’ve learned
    8 projects | | 5 Jan 2021
    next-pwa, for PWA support.
  • devlog part 1
    3 projects | | 27 Dec 2020
    Project setup: I applied for a DigitalOcean credit, created a Next.js static app, set up Tailwind, TypeScript and next-pwa. I deployed the app to DigitalOcean App Platform and it just works (except the part where I waited for the spinner to finish. By the way everyone, please don't add a spinner if you will not also automatically refresh it.)
    3 projects | | 27 Dec 2020
    shadowwalker/next-pwa#132 improves error messages

What are some alternatives?

When comparing offline-first-sw and next-pwa you can also consider the following projects:

next-offline - make your Next.js application work offline using service workers via Google's workbox

next-seo - Next SEO is a plug in that makes managing your SEO easier in Next.js projects.

Next.js - The React Framework

sqlite-worker - A simple, and persistent, SQLite database for Web and Workers.

Sentry-Picam - A simple wildlife camera for Raspberry Pis.

next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js

rehype - HTML processor powered by plugins part of the @unifiedjs collective

uuid - Generate RFC-compliant UUIDs in JavaScript

Image-to-Braille - Give it an image, and it will become unicode braille

use-dark-mode - A custom React Hook to help you implement a "dark mode" component.

hueblocks - Create beautiful Minecraft block gradients in a few clicks!

prism-react-renderer - 🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)