How to decrease page load time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to decrease page load time?

I create one website but it's take more time to load so how can I solve it?

14th Sep 2019, 12:36 PM
Darshan Raval
Darshan Raval - avatar
2 Answers
+ 5
If it contains more images, You have to remove/reduce it it. If it's possible not to use images at all don't use it. But some sites like shopping sites requires images, then you will have to minify the images (using Grunt, Gulp, or NPM image minifier or any other). Also try minify your CSS and JavaScript files
14th Sep 2019, 2:32 PM
Qudusayo
Qudusayo - avatar
+ 1
In addition to what Qudusayo posted, you should also try to set up a cache on the both the server-side and the front-end, and try lazy-loading all assets that you don't need inmediatly. (Lazy-loading refers to not loading some assets until they are needed) Edit: I known the techniques I pointed out may be somewhat advanced, but you should definitely try them out!
16th Sep 2019, 6:54 PM
Pancake Studio
Pancake Studio - avatar