Performance issues are the ever-hot topic of application development. The effects of poorly performing applications can sometimes have serious financial impact. Back in 2007, Amazon reported a 100 ms increase in https://www.amazon.com/ load time and their sales decreased by 1%. Several studies have also shown that nearly half of the users are likely to abandon the website if the page load time is over 3 seconds. To address the performance issues, we look into caching solutions.
Both browsers and servers allow caching of various resources, such as images, web pages, CSS/JS files. Sometimes, however, this is not enough as we need to be able to control the caching of various other bits on the application level, such as objects themselves. Over time, various libraries rolled out their own caching solutions. This made it tough for developers, as...