Notes on caching
What is caching?
Caching is a technique that stores copies of data in a temporary storage (called a cache) so that future requests for that data can be served more quickly.
Example
let pi
function getPiCached() {
// Cache misses
if (typeof pi ===...
huytrinh.hashnode.dev3 min read