+ 4
Explain different measures to reduce the loading time of a website?
3 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.
+ 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
+ 2
Never use Flash....
Only run essential JavaScript at page load.