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

Add option 'putOnly' to skip HEAD request #211

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Add option 'putOnly' to skip HEAD request #211

merged 1 commit into from
Jan 9, 2023

Conversation

pioug
Copy link
Collaborator

@pioug pioug commented Jan 8, 2023

I am introducing the putOnly option to bypass the HEAD request and any local cache. This will be particularly useful when a CI server is deploying a static web app, as it often involves uploading many small files with unique filenames containing hash values (so safe to rewrite).

By using the putOnly option, we can significantly speed up this type of deployment.

It adds complexity to options but it can be released without causing breaking changes.

@pioug pioug merged commit 1c19c72 into master Jan 9, 2023
@pioug pioug deleted the head-object branch January 9, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant