Loader : there seem to be a loading at each page, even if assets are already displayed

Hi @kimj1 thanks for sharing the relevant courses with me, that has really helped.

I think I have figured it out now: in the pages where the page load times are regularly hitting three seconds the issue is that you have enabled Add Hero Image but you don’t actually have a Hero Image set:

If I disable that setting the pages load much faster - mostly under 20ms (aside from the pages that include Brightcove video) - especially once already visited & cached.

I’ll have to do a bit more digging in the code to be absolutely sure but my guess is that having that setting enabled causes the code to wait for the hero image to be loaded - but of course since there isn’t one set it will never do so. And eventually just gives up after the three-second timeout is reached.

2 Likes