π Editor's Note: Please read PART 1 to understand how/when to use a Promise cache. Since my previous article, many people have asked me how to approach cache invalidation. It's a fair question, given its prominence among the top two hardest challen...

Markdown supported Β· ββ΅ to post
Steven Olsen
Online educator and mentor for Sr. JS developers
I just learned that there's an npm lib that implements this as well (if you wanna be lazy like the tree raccoon in that image lol):
npmjs.com/package/cachified
Very hot topic!