UNIL sees itself as a laboratory for societies in transition. This stance must obviously be reflected in all its actions and the UNIL website is no exception. UNIL has therefore applied the principles of sustainable web design and browsing, otherwise known as eco-design.
The digital sector has a significant environmental impact: in 2020, it accounted for 2.1% and 3.9% of global greenhouse gas emissions, putting the digital sector's overall footprint between that of all the world's aircraft (around 2%) and all the world's lorries (around 4%). Eco-design is a continuous improvement process aimed at limiting the production and consumption of IT resources. As such, it operates at three levels, taking into account the digital service as a whole (websites, mobile applications, software, APIs, hardware, software drivers, operating systems, recommendation systems, etc.):
The UNIL website(s) are visited by a large number of people. Each person has one or more objectives, and several pages will have to be loaded to meet their needs. This traffic has a significant impact, as each tool or action used to load the various pages (such as the tools that send the request to load the page, the connection through which the request passes, the servers that store the pages and respond to the request, etc.) consumes energy.
As a result, light pages with relevant information allow web users to find what they are looking for (more) quickly, thereby considerably reducing their ecological impact.
The focus is on eco-design from the moment the image is chosen. This means content creators thinking about the use of an image in the message conveyed by that page of the site.
Eco-designed images are processed to integrate them into the site's content management system. In the case of the UNIL website, the first step is automatic processing of the image when it is added by the person responsible for the content. This is not just image compression carried out before it is added by the content creator (JPG or PNG format, for example), but highly effective and systematic additional compression. The result is a greyscale image that takes up 10 times less space on a server and directly consumes fewer resources to display. Finally, a style sheet adds blue tone filters when the image is integrated into a web page. As a result, when browsing in eco-design mode, a much lighter image will be offered by default when your device (desktop or mobile) is read. The infographics are offered in a vectorised format (.svg) that keeps the weight down and provides excellent adaptability (without compromising the readability of the content of a table, for example).
Images are only loaded when they appear on the user's screen (lazy load). As well as being a pillar of eco-design, this improves performance as less data is loaded at the start and is consumed as it is read.
In terms of the web page's source code, it is possible to indicate upstream to the browser how to choose the most suitable image source based on attributes specifying the size of the image to load according to the area in which it is used. In fact, the browser only loads the most optimised image possible in a given display context.
The source URL and the media player are only loaded at the visitor's request, i.e. when the visitor clicks on it, to ensure that the player is not automatically loaded if the visitor has no need for it. This technical point avoids unnecessary data exchanges between the server and the device viewing the page.
When browsing the pages of this site, you will always find a toggle at the bottom of the page allowing you to modify your browsing experience.
Available in French
Freitag, C., Berners-Lee, M., Widdicks, K., Knowles, B., Blair, G. S., & Friday, A. (2021), Patterns, 2(9), 100340
Available in French; The Shift Project, (2021), Mise à jour des scénarios prospectifs des impacts du numérique mondial et propositions pour le déploiement d’une 5g raisonnée [Note d’analyse].