Caching in memory is easy but not always useful to reduce costs.
Persistent caching is better, but it's quite a hassle to set up - you need a db, a server, and write some client logic.
I got fed up with writing this per project, so here's an easier way.
Replies