MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Seeing very high ttfb and dowload times for Cloudfront content

WebPagetest Forums

Full Version: Seeing very high ttfb and dowload times for Cloudfront content
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been running tests from multiple locations all over the USA using chrome and I'm seeing very high download times for images coming from cloudfront only when testing using WPT when I used another testing services the image download and TTFB seem to be much much faster.

WPT examples:

other service:!/iNtuC/
Looks like you have saturated the 5Mbps connection that you were testing on on WebPagetest (in the advanced settings you can configure the allocated bandwidth). That is also likely why the latency was higher - most tools just test using a full backbone connection.

If you look at the bandwidth chart at the bottom of the WPT waterfalls you can see that it's pretty much pegged for the whole time. 3.7MB is a pretty huge page. Are those retina images (they appear to be larger than they show on the page)? You'll get a better user experience if you can break up the loading of the images and only load the ones that are above the fold with the page itself and lazy-load the others (after onload maybe). That way the main images will not be competing for bandwidth with images that are not immediately visible.

You're also not really helping things by sharding them across 3 domains, that just puts even more bits on the wire at a time and you're probably running into a bunch of congestion (Will Chan had a great blog post on it here:
Thanks Patrick,

I have shrunk the dimensions of the images we are loading to fall closer to the max dimensions we need on the page (page is responsive)

I also removed the media1 and media2 domains.

The problem now is that there seems to always be one or two images that are taking an extraordinary amount of time to load

thanks for your help,

FWIW, looks like the image issue may have been transient but the globalconvert code on your page is trying to make a request from a server that isn't accepting connections:

If you don't absolutely need it, I recommend removing it or reaching out to them to see what's going on.
Reference URL's