mui / mui-public

The public mono-repository of MUI (as an organization), see mui/mui-private for the opposite.
80 stars 16 forks source link

Move artifact download manager to client #24

Closed eps1lon closed 4 years ago

eps1lon commented 4 years ago

Previously we just took a build number and returned all artifacts compressed. This doesn't scale with th e number of artifacts since netlify functions have an upper limit for the response size.

We now use the just pass the URLs we need to netlify functions. Thisstill has the benefit of smaller downloads (CircleCI API isn't gzipped I think) and we can apply some more aggressive caching: Since artifacts are immutable we reflect that in the Cache-Control.

Follow-up to https://github.com/eps1lon/mui-contributor-dashboard/pull/23