Treating warnings as errors in Elixir's mix compile Elixir code style, a brief example

How to implement a disk cache plugin for Elixir's Req HTTP client?

Req is a great HTTP library, which I use with Mix.install/2 quite a lot now. In this post I’m sharing how to implement some caching via the Req plugin system.