react-responsive icon indicating copy to clipboard operation
react-responsive copied to clipboard

optimization: use client hints for SSR

Open yocontra opened this issue 5 years ago • 3 comments

https://developers.google.com/web/updates/2015/09/automating-resource-selection-with-client-hints

We can use these new hint headers to get the actual constraints and use those values on the server instead of making an educated guess then doing a re-render on the client. Any user who enables these hints on their page would be able to benefit from the optimization, otherwise the current method still applies.

Would be a good PR!

yocontra avatar May 08 '19 15:05 yocontra