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
Afterware for express? #96
Comments
@katopz I think it should be possible to do this with normal express middleware, or is that not the case? We do care about performance, but we also care about simplicity. I think implementing this outside of apollo server would cost almost nothing in terms of speed, but it would keep apollo server much simpler. As a next step, could you figure out what (if anything) we would need to change to support the approach outlined in this stackoverflow answer: http://stackoverflow.com/questions/24542959/how-does-a-etag-work-in-expressjs |
@helfer Cool thanks. I'll close this for now and will keep you post if the result turnout well :) |
Hi guys,
I'm try to implement
304
response toIf-None-Match
(byetag
) from client.And I need to calculate
etag
from response body around here if I understand it right.So seem like I need an
afterware
supported there at server side. so the question isafterware
supported there?afterware
?IMHO
etag
andlast-modified
is a must have (you guy aim for speed right?) so it should implement internally and can be turn on and off likeexpress
did for staticetag
do tell me if you want me to PR for304
response internally instead ofafterware
approach.Thanks
The text was updated successfully, but these errors were encountered: