I guess this means I should start posting about science, relativity and black holes?
So the cache is a queue—oldest items first—not a stack! Never realised this before. Thanks for sharing your code.
In times like these I wish there was a class in Basic Logic in high schools, but then, people would say “Why? I have never used logic in my life!” and sadly, they’d be right!