Basic in-memory caching