Explain different measures to reduce the loading time of a website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Explain different measures to reduce the loading time of a website?

9th Apr 2018, 9:12 AM
manasi sagar
4 Answers
+ 9
- Use CSS animation over animated gif or Flash. - Use progressive JPEG for photos or large dimension images over PNG (especially if transparency is not needed). - Use minified JavaScript. - Use JavaScript to send/receive data instead of reloading entire page. - Use thumbnails rather than original images.
9th Apr 2018, 9:30 AM
Ipang
+ 3
- don't use too many sharing buttons, keep it to a minimum. - use a CDN like Cloudflare. - dont use cheap website hosts. - reduce the size of images (use sprites where possible. - enable gzip compression. - minimise javascript and css files. - avoid hotlinking images. When testing pageload time, only make one change at a time before testing the speed again. This way, you will be able to see which changes have worked
9th Apr 2018, 10:50 AM
Memphis Reigns
Memphis Reigns - avatar
+ 2
Never use Flash.... Only run essential JavaScript at page load.
9th Apr 2018, 9:38 AM
Duncan
Duncan - avatar
+ 1
You can compress images drastically: Check tinypng.com Minimize the content as much as possible. Use at most 1 online font. Cache the web content. Cloudflare service can do itself for you, if you use that.
9th Apr 2018, 10:41 AM
Niush
Niush - avatar