@2fd7551e one trick could be to hide the HTML for the calendar (in noscript tags) and only after a timeout (or visitor interaction such as scroll or mouse movement) unhide it with some JS, works like a charm :-)
@f505d26e At the moment it is hidden using a <details> - see https://shkspr.mobi/blog/ I dislike dynamic loading via JS.
@2fd7551e interesting! does HTML in a details tag not get automatically added to the DOM then?
@f505d26e It does. But it is hidden by default. So it shouldn't reduce performance - because there's nothing to display.
@2fd7551e not familiar with the technical browser implementation details, but if I understand correctly GPSI mentions "large DOM size" under "diagnostics" because CSS & JS performance is impacted by DOM size, regardless of elements being hidden?