In our last post we discussed about adding service workers to your site and converting your web app into a Progressive Web App(PWA). In this post we will discuss some of the pitfalls to avoid and the caching strategies that we can employ with service workers.
Programming
Introduction to Progressive Web Apps
Progressive Web Apps(PWAs) are normal web apps that appear to the user like native mobile apps. They do this by loading instantly and reliably in every network condition even offline, Engage the user with features like push notifications even when the user has left the app or closed the browser.
An introduction to WebSockets.
WebSockets provides a bidirectional persistent connection between a server and client. Using WebSockets, either the client or the server can initiate the connection.