Does collapse/hiding of elements speed up loading?

Hi,

As the question says, I was wondering if anyone knows if the site loading speeds up if elements are collapsed/hidden by default. The elements will be expanded, shown when the user navigates through the site.

For example I have a series of repeaters and I want to load them 1 by one to “improve user experience”

Any other tips on how to speed up performance would be grealty appreciated as well. My site requries several repeaters, databases and custom code and I´m constantly finding myself weighing between performance and cool functionalities :).

All the best!

If you had to use collapsed or hidden on load, then you would be better doing collapsed on load, although the element will still have to be loaded when the page opens.

You can look at doing lazy loading so that your site loads in parts.

See Nayeli (Code Queen) example to help you add it to your site
https://youtu.be/qP2Xfr_4A4I
https://support.totallycodable.com/en/article/auto-load-content-on-scroll