https://www.webcodegeeks.com/ruby/zache-simple-ruby-memory-cache/
Zache: A Simple Ruby In-Memory Cache