There is a site that hosts many high-quality images, the download speed is correspondingly bad. If you make this site using a js framework such as vue js or react js, will the site load speed improve or not?
- oneIf we assume that the images are loaded in good quality and weigh a lot, then the framework is unlikely to help you, as it cannot affect the speed of downloading files. And so the question is quite philosophical, since it is necessary to study your site in detail and see what can be done with it. - Sergey Glazirin
- Open the developer panel in Chrome, Network. On the right will be the "waterfall" download. Look at it and see what time is spent on. In short, JS most likely has nothing to do with it, but perhaps the situation will improve a little if everything is terrible with scripts. - Total Pusher
- Ps. Use progressive JPEG compression to “visually” not to make the visitor bored. - Total Pusher
|
1 answer
Is not a fact. You need to see the site itself to answer in detail. First you need to do a delayed loading of the images themselves and make a preview in a lower resolution. And let's say when you scroll already insert the following images, if the design allows. If the insertion is done in a huge amount, then yes. some of these frameworks will speed up the render 100% due to the minimum manipulation of the DOM. They will only help speed up the insert in the DOM, but they will not increase the loading of images. Here it is necessary to approach the question from all sides.
|