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

Support for Client Hints #11

Open
PeterDeKeer opened this issue Mar 6, 2017 · 2 comments
Open

Support for Client Hints #11

PeterDeKeer opened this issue Mar 6, 2017 · 2 comments

Comments

@PeterDeKeer
Copy link

Do you plan to support Client Hints in the future?

https://github.com/igrigorik/http-client-hints
http://cloudinary.com/blog/automatic_responsive_images_with_client_hints

Since you support 'optional WebP' for browsers that support it, it might be possible to implement?

Thanks!

@aaron42net
Copy link
Member

I wasn't aware of client hints, but they look awesome and not too hard to implement.

The only downside I see is reduced cacheability due to needing to include the DPR and Width in Vary, which will make responses not cacheable unless there are exact-match DPR and Width request headers.

@PeterDeKeer
Copy link
Author

PeterDeKeer commented Mar 7, 2017 via email

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

No branches or pull requests

2 participants