To reduce dataload on the client-side for longer articles or articles with many images it may be useful to enable a feature that could be activated by editors of an article and/or depending on e.g. the detected connection-speed of the client.
This could make pages load faster and reduce traffic costs on the client-side. It is unlikely to be important for a large share of readers of most articles as even the longest articles should load fairly fast and traffic costs of loading a Wikipedia are usually low irrespective of the article's length.
If the feature is enabled for a client and/or article the sections could load once the section is navigated to in the TOC, scrolled into view (with ajax) or when a [show] button is clicked next to the section header.
An alternative or additional feature could be disabling images or reducing their thumbnail filesize depending on the e.g. the detected connection-speed of the client.
There are already ways to collapse sections/section-contents but these load the data anyways.
This is one of a series of tasks that would allow (/ improve) converting the Events list of https://en.wikipedia.org/wiki/2020_in_science to a table as suggested on the page's talk page. Other tasks of the series are linked in: https://phabricator.wikimedia.org/T258421
However, MOS:COLLAPSE is relevant to this task.