create cache on startup