Site loads 5x slower all the sudden. Why and how to fix?

Hi community,

All the sudden my site is loading literally 5 times slower. I am actively using the platform for last couple of months and now, over night, site is performing incredibly slow.

I didn’t do anything different so it doesn’t feel right that this is happening.

My site is www.drills.golf . Most common pages I visit are drills.golf/drill/1111

I’m reaching out to support.

edit: it was happening on Chrome via computer until a moment ago, now it is normal. But it is still happening via Safari on iPhone and iPad. It is happening only on initial load.

1 Like

Nice site!
It took about 7 seconds to load the first time for me, then about 3 seconds when I reloaded it from both Chrome and Safari on my computer.
It could be slower the first time due to the user’s (your) browser caching the content after the first load, and also the way that content is stored/cached on a CDN (such as Amazon Cloudfront).

Sometimes when using Bubble, I’ve found that we don’t spot problems like this when developing / testing, because we aren’t ever doing a fresh/full load of the page. Once we come back to the app after some time off, or get someone else to try it, then we notice issues like this. So it might be just that.

Thank you.

Yes, thats the same behavior I get. Initial load takes a while and each following is significantly faster.

What are my solutions then? I’m trying to get to a logical explanation and hopefully a fix because the site has been live non stop since January and now is the first time that this is happening.

Can it be that the number of plugins installed slows down the initial load time?

I’m willing to try solutions but it’s evermore surprising that this started being the case out of the blue.

This is called the “cold restart” problem, and it’s a byproduct of serverless architecture like AWS Lambda. That 8 second lag time happens if nobody has access the site in a certain amount of time. It’s not just you, it’s anybody. If your site has enough users that it is always being accessed, then you won’t see that cold start problem as often.

The alternative is dedicated servers, but those are expensive and there is no way Bubble can afford to host 6 million apps on dedicated servers, especially when most of them don’t get much activity because they are test projects, etc.

That makes sense.

Thank you for the knowledge

This topic was automatically closed after 70 days. New replies are no longer allowed.