Answer the question
In order to leave comments, you need to log in
Is it possible to multi-thread loading the site?
For example, one thread loads images, another - scripts, the third - markup, the fourth - styles
Or the entire content of the page is divided into the number of threads and loaded separately
Answer the question
In order to leave comments, you need to log in
well, this is approximately how it is done, only we are not talking about streams, but about the loading order,
read about optimizing the speed of loading web pages
One page is unlikely ... If you look at the TCP level, then how will you work with one socket from different streams ...
But, let's say, if there is pagination, then you can.
But it is also possible to bring down the site in this way.
Did it myself. On one rather popular site there was a huge TOP - pages of 40 thousand, and I wanted to get it all completely, but not in half a day, but in 30 minutes. I could not. The site stupidly falls and generally ceases to open anywhere :D This is the second such site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question