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 Etag support #22

Closed
jeremydaly opened this Issue Mar 30, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@jeremydaly
Copy link
Owner

jeremydaly commented Mar 30, 2018

While working on cache control for the sendFile() method, I did some additional research into the Etag header. Seems easy enough to implement and could be useful for saving data transfer fees in Lambda.

@jeremydaly jeremydaly added this to the v0.6 milestone May 2, 2018

@jeremydaly

This comment has been minimized.

Copy link
Owner

jeremydaly commented May 16, 2018

There are a lot of possible capabilities with this, including concurrency control for updating resources. I'm going to add that as a separate potential capability.

@jeremydaly

This comment has been minimized.

Copy link
Owner

jeremydaly commented May 16, 2018

I've added preliminary support for this, but it needs to be enabled on each response by using the chainable etag() method.

@jeremydaly jeremydaly closed this May 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment