Accept
,Save-Data
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d4c2ef1c-c09f-40d5-8cbb-d981e71eda57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d756910e-c681-49c3-a75b-08e2dc3e6a18%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/1a393c8a-3a9c-4f38-8480-48b4283ae0be%40googlegroups.com.
Clearing the pagespeed cache: Done
Requesting the page from server 1 several times so pagespeed optimizes the images: ........ - Done
Now requesting one of the optimized images referenced on that page from each of the servers:
http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg
That URL points to the CDN, but we'll bypass the CDN and make requests directly
to each of the servers since we don't want the CDN randomly picking one of our
servers.
The original image has a digest of DxERqlNBe1
The mobile-optimized image should have a digest of vVBnt1_794
The desktop-optimized image should have a digest of qU8xPtAbAL
Requesting image from server 1 (should be optimized, served from cache):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.45.86 -s -D server1-cdn-image.jpg.headers -o server1-cdn-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: CloudFront'
Digest from server 1: vVBnt1_794 expected: vVBnt1_794
Requesting image from server 2 (should start optimizing, but return unoptimized image):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.12.104 -s -D server2-cdn-image.jpg.headers -o server2-cdn-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: CloudFront'
Digest from server 2: DxERqlNBe1 expected: DxERqlNBe1
Requesting image from server 2 (should be done optimizing, but will optimize for desktop):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.12.104 -s -D server2-cdn-image.jpg.headers -o server2-cdn-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: CloudFront'
Digest from server 2: qU8xPtAbAL expected: vVBnt1_794
Requesting image from server 2 with the mobile user-agent (might get the original image here):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.12.104 -s -D server2-mobile-image.jpg.headers -o server2-mobile-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B137 Safari/601.1'
Digest from server 2: DxERqlNBe1 expected: DxERqlNBe1
Requesting image from server 2 with the mobile user-agent again (now we'll get the correct image):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.12.104 -s -D server2-mobile-image.jpg.headers -o server2-mobile-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B137 Safari/601.1'
Digest from server 2: vVBnt1_794 expected: vVBnt1_794
Requesting image from server 2 (getting the correct image from the fixed cache):
++ curl --resolve o15qsw-nssqpmay9vos.lagrange.ninja:80:35.197.12.104 -s -D server2-cdn-image.jpg.headers -o server2-cdn-image.jpg http://o15qsw-nssqpmay9vos.lagrange.ninja/fBdnswUSt/304x228x1.jpg.pagespeed.ic.vVBnt1_794.jpg -H 'Accept-Encoding: gzip' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'User-Agent: CloudFront'
Digest from server 2: vVBnt1_794 expected: vVBnt1_794
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/627523ed-d888-4b51-9a2f-1dc013b4bc33%40googlegroups.com.