I\'m looking for a drop in solution for caching large-ish amounts of data.
related questions but for different languages:
Given your recent edits to the question, I suggest that you implement the solution noted in your question as you are very unlikely to find such a naive solution wrapped up in a library for you to reuse.