r/webdev • u/Illustrious_Web_2774 • Dec 15 '25
Is offline-first web app a bad idea?
bake offbeat hospital crowd slim nail fine outgoing oatmeal capable
This post was mass deleted and anonymized with Redact
14
Upvotes
37
u/Platense_Digital Dec 15 '25
Currently, very few apps (web or native) monetize with code that can be run on your device. People typically pay for cloud synchronization, AI processing, or other features that require a server running 24/7 or very large processing capacity. If you don't offer that, chances are an open-source project already does.
4
u/AMA_Gary_Busey Dec 15 '25
I think it just comes down to complexity and cost. Syncing offline data back to a server without conflicts is a nightmare to build right. Have you looked into CRDTs? That's what makes stuff like Excalidraw work offline but it's not trivial to implement at scale
4
u/kei_ichi Dec 15 '25
Is that complete “depend”? For example, do you want a “note” app (Notion) which can’t be used offline? Or if will you create a calendar App which can’t require” internet? But if you create a “live streaming” app, what is the point of make it usable when no internet connection (offline)?
2
u/SaltMaker23 Dec 15 '25
"It depends".
Some tools absolutely can't just by sheer design of their usecase, using them offline can't work. Others are very well suited for offline work and sync once in a while.
Generally offline first are local apps where the cloud services are part of a paid plan, for faster treatment, AI, collaboration, backups etc...
It would make sense to design a forever offline webapp where you have some nice online features that make sense as paid features.
1
u/Mexicola33 Dec 15 '25
Entirely depends on your monetization strategy, but probably? Figure a system and a monetization strategy. You could break things down into micro services and make the ones without a persistent requirement “offline-first” or freemium.
1
u/brianly Dec 15 '25
It’s not a bad idea, just more complex. If server-side rendering is fine for a lot of apps, what benefits do you derive from offline-first?
This is the exact same argument we had starting in the late-90s when you could have a VB desktop app that was fully functional locally or a web app. The distribution options are easier/better with what we have available for offline-first apps, but the things they compete with are fundamentally still simpler and cheaper.
The things that excite us as developers don’t necessarily translate into great commercial or adoption successes. Nothing wrong with trying new things or using tech for the love of the game, but you need to think about the what-ifs.
1
u/BlackDecafCoffee Dec 15 '25
Reminds me of https://devdocs.io/offline
You can "install" documentation to access via the browser regardless of having an internet connection or not. They use things like indexedDB and LocalStorage to keep the site functional without a connection.
I think it's an awesome idea and more sites should be at least usable if connection is lost or unavailable.
1
u/swampopus Dec 15 '25
I can only speak for myself, but as a consumer in the US, I've never considered that I could use a web application w/o an Internet connection. I mean I know some web apps do it, but having an Internet connection has never been a problem. If I'm on a plane or something, it's just for a few hours, so I don't worry about it.
1
u/anaix3l Dec 16 '25
I think it would be a great idea as it's something I've really been missing for the past 10+ years. It's immensely frustrating to depend on having an internet connection to get work done.
1
u/InspectorFeeling3892 Dec 24 '25
It doesn’t seem like a bad idea, but it feels like a trade off more than a default choice. Making something fully usable offline adds a lot of complexity around syncing, conflicts, and data consistency, especially once real users and teams are involved.
For some products it makes sense because offline use is core to the experience. For others, being resilient to short outages is enough, and going fully offline first might slow down development or create edge cases that are hard to explain to users. That could be why many tools stop short of going all in on it.
1
u/iamsuudi Sep 01 '26
I think you should checkout https://swoff.space/docs/architecture/optimistic-updates
-5
u/uknowsana Dec 15 '25
If it is offline-first, it isn't a "web" app to begin with. Isn't it?
-4
u/Dwighthaul Dec 15 '25
It's not very clear what you want.
Most web app need online connexion to, at least, retreview the JS, CSS and HTML files. You might need at lease a connection to an API to get update of the data (Like a weather).
Or you want to send data like a Uber, Amazon or shomething where you need connexion to place order and connextion to a system. It's in the definition of a web app, you are not supposed to store a lot in the navigator of the user.
You can create a full offline app, (like GIMP) using Notion for exemple, and store the data localy, but it will not be a web app.
0
u/[deleted] Dec 15 '25
[deleted] — view deleted comment
1
u/[deleted] Dec 15 '25
[removed] — view removed comment