The Wayback Machine - https://web.archive.org/web/20210121133703/https://github.com/eps1lon/mui-contributor-dashboard/pull/24
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move artifact download manager to client #24

Merged
merged 5 commits into from Nov 25, 2020
Merged

Conversation

@eps1lon
Copy link
Owner

@eps1lon eps1lon commented Nov 25, 2020

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 #23

@eps1lon eps1lon merged commit b605272 into main Nov 25, 2020
6 checks passed
6 checks passed
static
Details
Header rules - mui-dashboard No header rules processed
Details
Pages changed - mui-dashboard All files already uploaded
Details
Mixed content - mui-dashboard No mixed content detected
Details
Redirect rules - mui-dashboard 1 redirect rule processed
Details
netlify/mui-dashboard/deploy-preview Deploy preview ready!
Details
@eps1lon eps1lon deleted the fix/functions-response-size branch Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant