Loading time too long.. Page Preloader.

Hello I created a dynamic page which takes too long to create close to 10 seconds and that is too much white screen 10 seconds many visitors are going away. Is there a way to create preloader which will be shown fast until the other content is loaded.and after that it automaticly to go away.

Thanks

Forget to mention I tried this https://www.wix.com/code/home/example/Preloader but this doesnt help this preloader is shown when the other content is shown so it doesnt help I need somethnig that loads prior loading the other content.

It is difficult to help you without knowing what the code looks like and what you are trying to load…

https://www.amazon-review.org/ProductReviews/CordlessNailGuns here is example of the page

The page is full of Collection connections that I think is the reason for the slow loading so i need something like a preloader.

well, it is difficult to help without seeing the code. It looks like it takes 4+ second to get the info from databases and 4.5 seconds to parse. My guess is that you are using dynamic GROUP page (again, without seeing the code it is difficult). My advise would be to use Wix code instead and have it build the page sequentially and not all at once. This way the page will be streamed to the user while data is being fetched. Preloader has nothing to do with it.

Just another idea. Haven´t checked it, but it should work: setup a page in between with a tex like “Please wait while we gather the information” or a spinner and some text. On that page, you use locaion.to() to redirect to the original page.

this is exactly what Preload is doing… He is looking for the page to load fast so the user will not quit on him…

It is Dynamic page where you can see i display information for 10 products every product has 5 fields so i make somewhere 50-55 connections to 1 database. i dont use code at all. This sounds good: " My advise would be to use Wix code instead and have it build the page sequentially and not all at once. This way the page will be streamed to the user while data is being fetched. Preloader has nothing to do with it. " is there some simple way you can explain me how to do this because I am not some code guru just understend somethings here and there and can implement them.

If the page can load in sections, That would be great the visitor can take a look at the introdaction while da data is fetched.

Use wixdata.query. It will retrieve the entire record at once.
More info:

It is also asynchronous so the text will be displayed very fast.

My guess is that you can get all the 10 records in 1 query and it will still be fast. If not use .query with more flters so less records will be fetchef per query.

Hi,I also want to show a loader page in between before home page cause wix is taking a lot of time to load. But the issue is if I add location.to() to loader page then it remains blank till the next page is loaded instead of showing loading image. Please help me on this.