Building a simple cache mechanism in ruby | Dark Hacker News