Closed ejthurgo closed 10 years ago
Awesome! One question.. I'm seeing odd results:
igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100"
Image bytes: 2372
igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100"
Image bytes: 5240
igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100"
Image bytes: 2372
igrigorik { /git/http-client-hints } >
Am I hitting different servers? I'd expect the filesize to be the same. Same happens when I pass in CH- prefixed headers.
I suspect I know what this is, but will double check and get back to you with something definitive.
Ed
The ReSRC.it Team
ReSRC – The Responsive Image Engine Optimize & Deliver Perfect Images On Any Device http://www.resrc.it @resrcit
On 5 Sep 2014, at 23:26, Ilya Grigorik notifications@github.com wrote:
Awesome! One question.. I'm seeing odd results:
igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100" Image bytes: 2372 igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100" Image bytes: 5240 igrigorik { /git/http-client-hints } > curl -s http://app.resrc.it/http://www.resrc.it/img/demo/preferred.jpg -o /dev/null -w "Image bytes: %{size_download}\n" -H "DPR: 1.0" -H "RW: 100" Image bytes: 2372 igrigorik { /git/http-client-hints } > Am I hitting different servers? I'd expect the filesize to be the same. Same happens when I pass in CH- prefixed headers.
— Reply to this email directly or view it on GitHub.
Ilya, I have updated our service to support the new header names. DPR and RW. and backwards compatible with CH- headers.
Ed