Today, I would like to propose a new HTML attribute to go further in this direction.
A lot of images on the web are purely decorative, we all know that. These images, in particular those from image banks, are often dispensable, but consume bandwidth and contribute little to the user experience in the end, when they do not harm it.
What if we gave to developers a way to specify when a resource is dispensable without “breaking” the site?
Depending on the user configuration of the browser (and why not, ultimately, the quality of the available network), these images may or may not be downloaded from the server. We would then obtain a drastic reduction in the environmental impact of our online browsing while accelerating it.
This job could be done with a “facultative”
OR “optional” attribute.
Of course, this idea could apply to different types of resources.
What do you think ? (Thanks for reading)