cache are now filled initially in a thread safe way