Downloading all artifacts in the function can take a long time which means the actual response time is of the UI is slow. But once they're downloaded the response doesn't change since CircleCI builds and artifacts are immutable. The response should reflect that so the browser can cache it accordingly.
Part of #23
TODO: "Just" proxy artifact downloads. The current approach does not scale with the number of artifacts since netlify has a limit on the response size. We'll move this to the client (get a list of artifacts, request download for each). Should still be fast and we can re-use the caching approach and gzip it.
Downloading all artifacts in the function can take a long time which means the actual response time is of the UI is slow. But once they're downloaded the response doesn't change since CircleCI builds and artifacts are immutable. The response should reflect that so the browser can cache it accordingly.
Part of #23
TODO: "Just" proxy artifact downloads. The current approach does not scale with the number of artifacts since netlify has a limit on the response size. We'll move this to the client (get a list of artifacts, request download for each). Should still be fast and we can re-use the caching approach and gzip it.