delay cache writes 5 seconds

This means you can change CacheWriteEntry to be like a Pair<String, Response> instead of a Pair<Request, Response>, which is much lighter.