📡 Always Available
WPL is a Progressive Web App (PWA) that works seamlessly offline. Never lose data due to poor connectivity - everything syncs automatically when you're back online.
How Offline Mode Works
WPL automatically detects when you lose internet connection and switches to offline mode. All your actions are queued locally using IndexedDB and sync automatically when connectivity is restored.
Automatic Detection
- WPL continuously monitors your internet connection
- When offline is detected, you'll see an indicator in the top-right corner
- All actions continue to work - they're just queued for later
- When online again, queued items sync automatically
What Works Offline
✓ Fully Functional
- • Meal logging with photos
- • Weight logging
- • Viewing cached meal history
- • Shopping list access
- • Barcode scanning (cached products)
- • Medical data viewing (cached)
- • Medication list access
⚠️ Limited Function
- • AI meal analysis (requires connection)
- • New barcode lookups (uses cache only)
- • Recipe browsing (cached only)
- • Real-time family updates
- • Sharing features
Offline Indicators
WPL provides multiple visual cues when you're offline:
Offline Banner
A banner appears at the top of the screen showing:
- Offline status with animated indicator
- Number of queued actions waiting to sync
- Reassurance that data will sync automatically
Sync Status Widget
Bottom-right corner widget shows:
- Current sync status
- Queue count
- Progress when syncing
Using WPL Offline
Logging Meals Offline
- Take a photo of your meal as usual
- Select meal type and add notes
- Save - the meal is queued locally
- You'll see a notification: "Meal queued for sync"
- When online, AI analysis runs and data syncs
💡 Pro Tip
Photos are compressed before storage, so you can log dozens of meals offline without running out of space. The typical meal photo uses only 200-500KB.
Weight Logging Offline
Weight entries work identically online or offline:
- Enter your weight as normal
- Data is saved locally instantly
- Syncs to cloud when connection returns
- No data loss - everything is preserved
Shopping Lists Offline
Shopping lists are designed for offline use:
- View your complete shopping list
- Check off items as you shop
- Scan barcodes (using cached product database)
- Add new items manually
- All changes sync when online
Automatic Sync Process
When Connection Returns
The moment your device reconnects:
- Detection: WPL detects the connection
- Notification: You see "Back online! Syncing X items..."
- Processing: Queued items sync one by one
- Progress: Watch real-time progress in the sync widget
- Completion: Success notification when done
Sync Priority
Items sync in this order:
- Weight logs (fastest)
- Meal logs without photos
- Meal logs with photos (larger data)
- Shopping list updates
- Other queued actions
Handling Sync Failures
If a sync fails (rare, but possible):
- WPL retries automatically with exponential backoff
- Up to 3 attempts per item
- Failed items are flagged for your attention
- You can manually retry from the sync widget
Local Data Storage
What's Cached
WPL intelligently caches data for offline access:
- Recent meals: Last 30 days of meal history
- Weight logs: Last 90 days
- Medical data: Current medications, recent vitals
- Shopping: Active shopping lists
- Barcodes: Recently scanned products
- UI assets: App interface and icons
Storage Limits
IndexedDB Storage:
- • Typical usage: 10-50 MB
- • Browser quota: Usually 50% of available disk space
- • Automatic cleanup: Old data removed when space needed
- • Manual clear: Available in settings if needed
Offline Mode Best Practices
📸Take Photos Immediately
Capture meal photos right away before eating. If you go offline later, you already have the image.
🔄Let Sync Complete
When reconnecting, wait for the sync to finish before closing the app. This ensures all data is uploaded.
📋Pre-cache Shopping Lists
Open your shopping list while online before heading to the store. This ensures all items are cached.
⚡Monitor Battery
Background sync can use battery. If low on power, sync may be delayed until charging.
Common Offline Scenarios
Traveling
- Log meals on flights without WiFi
- Track weight in hotel rooms
- Access medical info during doctor visits
- Everything syncs when you get to WiFi
Shopping
- Many stores have poor cell reception
- Access shopping list in airplane mode to save battery
- Scan barcodes using cached database
- Mark items as purchased offline
Medical Appointments
- Doctor's offices often have spotty WiFi
- Access medication lists and health history
- Show meal logs and weight charts
- Take notes during appointment
Progressive Web App (PWA) Features
WPL is a full PWA, which means:
Install to Home Screen
- Works like a native app
- No app store required
- Offline capability built-in
- Fast loading and responsive
Background Sync
- Service workers handle sync in background
- Even if you close the app, data still syncs
- Notifications when sync completes
Troubleshooting
Sync stuck or not starting
- Verify you're actually online (try loading another website)
- Check the sync widget for error messages
- Try manually triggering sync by pulling down to refresh
- Clear browser cache if issues persist
Offline indicator won't go away
- Refresh the page
- Check browser network tab to verify connection
- Restart browser if needed
Data missing after sync
- Check sync widget for failed items
- Look for error notifications
- Items may need manual retry
- Contact support if data is lost
Next Steps
Still have questions?
Our support team is here to help