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

Use IO::Handle streams #14

Open
kjetilk opened this issue Dec 25, 2015 · 0 comments
Open

Use IO::Handle streams #14

kjetilk opened this issue Dec 25, 2015 · 0 comments
Milestone

Comments

@kjetilk
Copy link
Member

kjetilk commented Dec 25, 2015

There is code to use HTTP Conditional Requests, specifically ETag, in the underlying libraries. However, the current code has to run exactly the same logic to verify the request as it would to generate the response. All we're saving is bandwidth, no CPU.

By using IO::Handle streams on the Plack side of this module, we could also save some CPU.

At present, not all serializers support this, but they are likely to in the future.

@kjetilk kjetilk added this to the Attean milestone Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant