So my application is pretty simple but I am not a web developer and can’t help but think what is the effect, on page load speed, of having a lot of hidden elements on the screen (especially when my app is full of data and is being used by say 10000 people).
I am aware that a 100 element page will load faster than a 10000 element page.
An example i’d like to give is imagine a button for chat on a page (the page has it’s own elements and stuff). When clicked, it makes a group visible on the screen which displays a list of contacts of the user. Upon clicking any one contact, another bigger group becomes visible which contains the chat of the user with that contact.
This is my scenario and i’d like to add more features, similar to the chat example given above, in my application.
I am not a web-dev so please explain it to me as simple as possible and suggest good practice, improvements and fast/efficient methods to achieve the same result.