Better memory cache control