Answer the question
In order to leave comments, you need to log in
How to upload data to the client correctly?
Then an idea appeared to write some kind of site on Angular + Express, and a dilemma arose, how best to receive data, get everything once at the first load and fly around the site, or load a little if necessary?
Answer the question
In order to leave comments, you need to log in
Download to the user what he wants to see, then load the rest in the background to fly)
Divide into three parts:
See here for more details:
You can also add a 4th part - this is what you may need because it is hot data (for example, news, a list of friends' activity, and so on)
For "some site" this question cannot be answered, depending on which site, what data.
It will be something like a forum. And the question is, to pull together all topics, rooms and messages at once, or for each page to make its own request to obtain the data necessary only for it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question