better-auth-offline
JSON →An offline-first plugin for better-auth v1+ that caches auth API responses in IndexedDB, allowing apps to function without network connectivity. Released as v0.0.2 (latest) with patch-level updates. Automatically caches allowlisted GET endpoints (e.g., /get-session) and serves cached data when network fails. Includes configurable allowlist, custom storage adapters, online status tracking, and SSR support. Differentiates from generic caching libraries by being a drop-in plugin for better-auth, handling cache invalidation on sign-in/sign-out to prevent cross-user data leaks, and adding an X-Offline-Cache header for detection.
Traffic · last 30 days stale · no recent hits
total hits 18
actors 4 distinct systems
last hit 19d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/better-auth-offline
compatibility /v1/registry/better-auth-offline/compatibility