Very slow TTFB on static files

Howdy,

On our site belgiles.com static assets are taking a very long time to load.

You can see the TTFB is almost 6 seconds in the screenshot below

Here is an example https://belgiles.com/static/democracy-sausage-8ad4fba23efae644393166af4e1ee14b.mp4

The example same file on the “develop” branch staging site loads way faster https://develop--belgiles.netlify.com/static/democracy-sausage-8ad4fba23efae644393166af4e1ee14b.mp4

This is for all static files. Can we please make sure the master branch production static files load as quickly as the develop branch files?

1 Like

hi there, glad you found us. Sounds like your concerns might be related to this:

can you go through the steps outlined in that thread to provide the data we need so we can pinpoint what is going on?

thanks, much appreciate!

1 Like

For anyone reading this, the issue was due to my production domain A record pointing to a far away server, rather than using the netlify CDN. I ended up pointing my nameservers to Netlify so the CDN started working and files were loading quickly

3 Likes

thanks for letting us know what the cause was, @jonlow! This is super helpful for other users.

I agree with @jonlow . I’ve done a couple of tests, with the same result. By configuring the CDN, the images load at the correct speed.

1 Like