I'm not sure if this belongs here or in the Google Page Speed group,
but our Page Speed score is getting heavily penalized due to Google
Maps (using v3).  I've found other postings that touch on the topic,
but nothing really addressing what we're trying to do to work around
it.

One thing I've tried is to use a timeout to display the map and its
markers after a couple seconds, but all of the Maps scripts and
processing is included in the page when it loads, which doesn't help
the page speed score.

Another thing I've tried to do is to somehow separate the Maps loading
from the main page and load the map and the main
http://maps.google.com/maps/api/js?sensor=false script that loads all
the other 9 js files, which are what is being reported in Page Speed.
I thought using Ajax or maybe an iframe to load all the necessary
Google Maps files outside of the main page (to improve the Page Speed
score), but when that fires off after the rest of the page loads (via
appending the script dynamically), the page turns blank due to the
document.write in http://maps.google.com/maps/api/js?sensor=false.

Does anybody have any suggestions or insight into either Page Speed or
Maps that could help with this scenario, or because Maps v3 uses
document.write is there no way to get around it?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to