How to write a caching server in Elixir

Thanks for your detailed explanations. Yes, this will work for the scenario I am describing.