Skip to content

Google Maps API Performance Warning from Screaming Frog Crawl

Description

During a recent Javascript crawl using Screaming Frog, I encountered the following warning related to the Google Maps JavaScript API:

"Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading"

It appears that the API is being loaded in the classic theme without the loading="async" attribute, which Google now recommends to improve performance. While this doesn’t currently break functionality, it may impact page load times or performance scores. Would it be possible to review how the Maps API is being embedded in UW-Theme 2.0 and, if needed, update it to follow the best-practice loading pattern outlined in Google’s documentation?

Examples

[If there are any examples you'd like to provide that show your requested feature in action, please list them here. Remove this text after listing them. Remove list below if not planning to use it]

Priority

How would you categorize this feature in terms of priority? Please select only one.

  • High This feature is crucial for the website's core functions or to fix important issues. It's essential for a smooth user experience, and I believe it should be addressed urgently.

  • Medium: Absence of this feature has a moderate level of impact on my website. They may not be crucial for its basic functioning, but should be considered after higher priority tasks.

  • Low: These features would be great to have on the website, but I understand they aren't necessary for its main purpose. If there's time and resources, they could add extra convenience or enjoyment to the user experience.

Customer/Requester Info

Name: Erik Geiger

Email: erik.geiger@wisc.edu

Website: https://it.wisc.edu