Combining Javascript files Home › Forums › MapPress Support › Combining Javascript files This topic has 1 reply, 1 voice, and was last updated 1 year, 3 months ago by Chris. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts December 22, 2021 at 6:41 am #19336 jaycollierParticipant Hi! We want to speed up our site by combining JS files (via Siteground Optimizer). Unfortunately, we got an error instead of our lovely mashup map on this page https://www.mcht.org/visit-a-preserve/ 🙂 https://postimg.cc/fJSgthJm https://postimg.cc/LJdQj017 We have the ability to exclude scripts from the combined script, but the scripts appear to be inline in the footer. Have you seen this before? Do you have any suggestions? -Jay December 22, 2021 at 6:48 am #19337 ChrisKeymaster Hi, Because the MapPress script is already minified, most ‘optimizer’ plugins can’t combine it, and it needs to be excluded. The Google Maps API generally needs to be excluded for the same reason. The scripts to exclude are listed here: https://mappresspro.com/mappress-faq/ The MapPress script is loaded with a script tag, it’s not inline, but some map data may appear inline on the page. March 4, 2022 at 10:26 am #19408 jaycollierParticipant Thanks! The Siteground Optimizer is now minifying correctly! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In