Write out on cachekey creation