A simple development in memory cache