Introduction to Caching Streams
Learn the importance of caching in the context of RxJS streams.
We'll cover the following...
About caching
Caching data and assets is one of the most efficient ways to improve the user experience of our web applications. It’s a good way to speed up the load times of our web applications and keep the number of network requests to a minimum.
We’ll start this chapter by defining the caching requirement for the client side and the motivation behind it. Then we’ll learn how to implement this requirement in a reactive way and explore the useful operators in RxJS. After that, we’ll describe a better way to do it using RxJS 7. Finally, we’ll highlight the use cases of caching streams.
Defining the requirement
As we've ...