Cache Data from TCP/IP Connections with IndexedDB

Share this video with your friends

Send Tweet

sw-precache caches nicely both static assets and external resources. But real time systems, such as Firebase or Socket.io, work on TCP/IP.

In this lesson I’ll show you how you can use IndexedDB in order to cache the data coming from Firebase.