Home > Programming, Servers & Scripts > Hosting, Servers & Security

Getting bad results with AWS combo, need advice! (6)


01-20-2019 10:16 PM #1 orangeman (Member)
Getting bad results with AWS combo, need advice!

Hello guys! Trying to figure out where ive messed up my setup. Got AWS s3+CloudFront+route53.
First screenshot is results with https://www.webpagetest.org, page size is just over 100kb, not sure if its bad for simple 1 picture lander.

Second pic is what bothers me. I set Gzip compression in AWS settings and why does it say i dont have working CDN? Also, speed test results for USA/Europe differs alot...


-Viktor


01-20-2019 11:36 PM #2 telebind123 (Member)

Hey, what geo are you running? I got to sub 600 ms speeds for most of my landers in the APAC region by hosting some files in Singapore instead of the US which had like 1.5 s load time. I have the same server setup as you too. Try to host your files near the geo that you're running on. Worked for me.


01-24-2019 08:40 PM #3 vortex (Senior Moderator)

Try gtmetrix. Webpagetest.org has become very inaccurate.


Amy

Sent from my SM-G930W8 using STM Forums mobile app


01-24-2019 08:41 PM #4 vortex (Senior Moderator)

Quote Originally Posted by telebind123 View Post
Hey, what geo are you running? I got to sub 600 ms speeds for most of my landers in the APAC region by hosting some files in Singapore instead of the US which had like 1.5 s load time. I have the same server setup as you too. Try to host your files near the geo that you're running on. Worked for me.
With a CDN though, it shouldn't matter where the files are actually stored, because the pages are actually served from the CDN servers - which are located all over the world.

Thanks for sharing your experiences!


Amy

Sent from my SM-G930W8 using STM Forums mobile app


01-24-2019 11:34 PM #5 telebind123 (Member)

Quote Originally Posted by vortex View Post
With a CDN though, it shouldn't matter where the files are actually stored, because the pages are actually served from the CDN servers - which are located all over the world.

Thanks for sharing your experiences!


Amy

Sent from my SM-G930W8 using STM Forums mobile app
Ah gotcha, I tested it on Webpagetest which showed me the difference. But as you said, its become inaccurate so I'll use gtmetrix as well from now on.

Thanks


01-25-2019 12:27 AM #6 Mr Baffoe (Veteran Member)

Could also be a bad configuration and your CDN setup is not really active.

When you load your page do you see the following headers included?

X-Amz-Cf-Id: somevalue
x-amz-version-id: somevalue
X-Cache: RefreshHit from cloudfront

These days, unless you really know what you are doing, you may want to use a service like LanderBolt import your pages and save time and effort with the whole cdn/optimization part.

I made a video here showing how it works. http://prosper.tracking202.com/blog/...age-11x-faster

Feel free to watch at 2x


Home > Programming, Servers & Scripts > Hosting, Servers & Security