my site is loading very slow and the which has repeater and data set loads very very slow and when it loads it shows the full blank white page and because of this visitors get little bit confused about whether the site is loading or not and sometime they leave the site because they think that site is not working.
I also added the pre loader to the site and it is working but what happen is when the site loads first it shows the white page for 7 to 12 sec the it show pre loader for 1 to 3 sec and then it shows the content on the normal connection and on LTE it loads little faster.
This is the pre loader code which i had used
$w.onReady(() => {
waitForLoading();
});
export function button6_onClick() {
$w('#columnStrip1').show();
waitForLoading();
}
function waitForLoading() {
setTimeout(() => {
$w('#columnStrip1').hide('FadeOut');
}, 1500);
}
I think wix should add some built in pre load so that visitors will get the idea that the site is loading or not