clean memory cache at the end of each request