Since I have quite long pages and I want to avoid long loading times, I would like to create something like an autoload on scroll. I found a tutorial about this but this was used with content from a database.
Does anyone know how to create autoload (lazy loading) without using a database? Or maybe other suggestion to avoid long loading times?
Hi,
The content above the fold (the section of your site that’s visible to visitors without scrolling down) is loaded before the rest of your page.
So basically what you have said, already works on you site.
You can learn more about live site performance an loading time here .
If you wish your code to execute step by step, you can split it into async functions. Click here to learn more.