can use Malloc for cache as it's initialized