DEV Community

Discussion on: What's your approach to reduce loading time of a web app?

Collapse
 
crimsonmed profile image
Médéric Burlet

lazy load all images and scripts that you can.

For images you can start by setting the attribute: loading to lazy
developer.mozilla.org/en-US/docs/W...

For scripts you can use the attribute defer
w3schools.com/tags/att_script_defe...