My website has an interactive Open Street Map. It is displayed via the PageBuilder SP module in the footer, on each page of the site. I configured, through the Responsive settings, that this block is not displayed for mobile devices. And it really disappears. But the map scripts are still loaded and the page loading speed has not increased. This problem occurs because I use the Joomla module (Module SP PB Pro)? There seem to be no such problems with the component itself. How do I properly configure the template so that the map scripts are not loaded when using the mobile version.
PS: caching is working on the server, and Joomla is caching, maybe they are interfering. Please advise how to properly configure the site for the fastest use.
PS2: There is also a suggestion to improve the map functionality, for mobile devices load the map via preview, for speed. Add the "preview image" field to the settings and check the "use preview for mobile devices" checkbox.