logic for creating the cache workers
more functionality