Architecture

Offline-First Storage & Auto-Recovery

IndexedDB persistence, automatic background recovery, and seamless offline resilience.

# Offline-First Storage & Auto-Recovery

Nodestr uses an **Offline-First Storage Strategy** to ensure your work is always preserved.

---

## 1. High-Capacity Local Storage

Standard browser storage is often constrained by strict 5 MB limits. Nodestr bypasses this bottleneck by storing workspace graph data in your browser's dedicated **IndexedDB** database, enabling smooth offline persistence across tab refreshes and browser restarts.

---

## 2. Automatic Recovery & Sync Protection

1. Every node edit or canvas change writes immediately to local IndexedDB storage.
2. If working in Cloud Mode, changes are automatically synced to your secure cloud account.
3. If your network connection drops or a tab is closed before syncing finishes, Nodestr automatically detects pending local edits when you return and recovers your canvas state.