All Projects
LivePerformance

Mobile-First Progressive Web App

Built a full-featured PWA with offline support, push notifications, background sync, and a 98 Lighthouse score, serving 2M+ users across 40+ countries.

CompanySwiggy
RoleFrontend Engineer
Year2021

Tech Stack

Vue 3Vite PWAWorkboxIndexedDBPush APIWeb Share API

Impact

users2M+ users
lighthouse98 Lighthouse
countries40+ countries

The Problem

In markets with unstable connectivity, users were unable to use the app in poor network conditions, and the native app had 200MB+ download size that deterred adoption.

The Solution

Built a progressive web app with intelligent caching strategies via Workbox, background sync for offline order placement, and an adaptive loading system based on network conditions.

Architecture

Vue 3 + Vite with Workbox service worker, IndexedDB for offline data, and a server-side rendering strategy to deliver usable content on first load.

Key Challenges

  • Designing offline-first order flow
  • Syncing offline actions when connectivity returns
  • Managing service worker updates without disrupting active sessions

Results & Impact

2M+ monthly active users
Works offline with full feature parity
40 countries supported
Lighthouse score: 98/100