add workspaces to cache when loadAll is called.