Make the cache work