WebPagetest Forums
img responses too large - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: img responses too large (/showthread.php?tid=14685)

img responses too large - twhid - 01-12-2017 03:12 AM

Greetings all,

I'm using Fastly as my CDN and we're testing a new feature of theirs that optimizes images on the fly (more info).

I'm seeing very strange results when testing using Dulles, VA - iPhone 6 iOS 9.

The responses for the optimized images are coming back orders of magnitude larger in the WPT test than when requested via a browser or curl. For example, this image:


In this test:

Is reported to be 552.8 KB

But looking at it in a browser (eg Chrome, Mobile Safari), it's 7KB.

I haven't been able to craft headers via curl that result in the large image.

Note that I've tried using the advanced feature "Preserve original User Agent string
Do not add PTST to the browser UA string".

I'm hoping that someone has insight on anything special that WPT is doing so that I can reproduce this result.

Thanks for any help.