Streaming live at 10am (PST)

Odd behaviour - site delay on load

#1

Hi all.

Quick one - when I view my site www.sataybar.co.uk there is a delay and nothing is displayed until all the elements are loaded. I don’t know why this is because I have no interactions (legacy or otherwise) on there. Can anyone offer a suggestion as to why?

https://preview.webflow.com/preview/satay-bar?utm_source=satay-bar&preview=a192a609d2663836ec36fe5c17cf5357

0 Likes

#2

@BUMPandHUSTLE

Look at your waterfall tab for your first PAINT and first RENDER.

https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.sataybar.co.uk%2F

I might suggest lowering homepage payload to under 4mb if possible

If you have BG video playing, try using a static image, then defer video loading 2000ms after first paint.

0 Likes

#3

Thanks - yes video on home page BUT all other pages (without video) have the same effect. Why would that be?

0 Likes

#4

@BUMPandHUSTLE
Looking at designer preview link? {loading}

0 Likes

#5

Yes i did above - here it is again

https://preview.webflow.com/preview/satay-bar?utm_source=satay-bar&preview=a192a609d2663836ec36fe5c17cf5357

0 Likes

#6

BTW - I do think this might be a video issue but as it is not on the subsequent pages I don’t know why. It did used to function without delay.

Thanks for looking

0 Likes

#7

@BUMPandHUSTLE

does your webflow.io preview site have different load than your main published site?

Something is delaying your final paint (above fold render), best way to test is process of elimination.

Can you make the following
Test Page 01
/test-page-01
Section

  • Container
    – Rich Text Block
    Test Load

/test-page-02
Duplicate of Home page

    • Remove Booking engine widget
    • Remove Background

/test-page-03
Duplicate of Home page

    • Remove Booking engine widget / all dmn-form code
      Test Load

/test-page-04
Duplicate of Home page

    • Remove BG Video
      Test Load

/test-page-05
Duplicate of Home page

    • Remove CMS items
      Test Load

image

0 Likes

#8

I can do better than that - I have made a page with just a body and h3 header and there is still a delay. Have a look at this link https://satay-bar.webflow.io/test

What is going on here?

0 Likes

#9

OK - I have solved this. It was a GOOGLE OPTIMIZE !!

The Google Optimize Container ID was causing the site to render with a delay - i.e. blank page and then after a few seconds, the whole page appears. Why this is I have no idea and I won’t be using it until I know why this is the case.

As a process of elimination (as you suggested also), I ended up removing all pages apart from one, all elements apart from a single div block, all fonts uploaded, all collections (CMS) and still there was a delay. I am not sure if this has been discussed elsewhere but it was a real head scratcher.

Thanks for helping me out.

2 Likes

#10

@BUMPandHUSTLE
thanks for sharing

Curious if you updated anti flickr code if that made any difference:

0 Likes

#11

@BUMPandHUSTLE I’ve been struggling with trying to solve this issue for about 3 hours, thank you so much for posting your solution. I also had the Google Optimize integration enabled, and sure enough, I was having the same issue.

I can confirm that there is definitely a weird delay between loading and the first paint on my site as well (without optimize), but haven’t figured out what it is either. Without optimize it’s a super short delay though, so I can live with it.

I tested the anti-flicker code from Google Devs, and it greatly increased the load time and the delay until first paint on my site.

Thanks again for figuring out it was Optimize, I was about ready to give up.

1 Like