#circleci #performance Difference Between Cache and Workspace
▻https://hackernoon.com/circleci-performance-difference-between-cache-and-workspace-5567679c3601
Persist ~ 70% faster; restore ~ 80% faster, your mileage may varyA few days ago, Andrew Stiegmann commented on a blog post of mine where I shared how we automate our release process with CircleCI. Andrew’s comment can be summarized with “Hey, is there any reason you use CircleCI cache instead of a workspace?”I read up on a CircleCI blog post that explains the difference between a cache and a workspace. Their diagram does a great job explaining all that:CircleCI cache vs workspace. Source: CircleCI blog postOur CircleCI workfow contains of five jobs, each needs access to node_modules and a bunch of generated files in dist folders. Our “build job” as outlined in the diagram is where we install all npm packages and generate the files in the dist folders. We use a monorepo (more about that here), (...)