title: firebase web: does realtime database have persistence?
body: <p>Cloud Firestore supports offline persistence, even for web applications: <a href="https://firebase.google.com/docs/firestore/manage-data/enable-offline" rel="nofollow noreferrer">https://firebase.google.com/docs/firestore/manage-data/enable-offline</a></p>
  
  <p>It seems to me that this feature is not available in the real-time database.
  I couldn't find anything related in the docs.</p>
  
  <p>Does the real-time database have persistence?</p>
  
  <p>Please note that this concerns the web version of the real-time database. I know that offline persistence and caching is a key feature for the Android SDK etc.
  If you look at the docs for <code>enabling offline capabilities</code> for <a href="https://firebase.google.com/docs/database/android/offline-capabilities" rel="nofollow noreferrer">Android</a> 
  and <a href="https://firebase.google.com/docs/database/web/offline-capabilities" rel="nofollow noreferrer">web</a>, they are very different. For Android, you can find instructions on disk persistence. For the web, you only get information on connection/disconnection events.</p>