Reuse code to fill a cache detail