Use Static Google Maps Initially To Improve Performance
Brought to you by:
canajun2eh,
yalnifj
Google maps now supports the generation of static maps http://code.google.com/apis/maps/documentation/staticmaps/ . This can be used to improve performance by first loading the static maps, and when a user trues to interact with them, change it to a dynamic map, loading all the JS at that time. This will improve page load time for the individual page and the placelist.
Logged In: YES
user_id=634811
Originator: YES
See http://blog.liip.ch/archive/2008/04/22/lazy-load-google-maps.html . The interesting one is #4 (that leads to http://trash.chregu.tv/lazyload/on-demand-lazy-load.php\). The comments by Pamela Fox of the Google Maps team points to either loading the scripts on demand as in the sample http://gmaps-samples.googlecode.com/svn/trunk/dynamicloading/scriptappend.html (might make sense to load this when clicking on the maps tab, but this would not work for the All tab or the printable view). She also points to: http://www.nearby.org.uk/google/static3.php. http://www.nearby.org.uk/google/static4.php is also a technique that would prevent the PGV part of the page from waiting for the Google Map part to load.
Logged In: YES
user_id=1946672
Originator: NO
Now I'll be trying to do the static maps
Logged In: YES
user_id=634811
Originator: YES
Great!. This will hopefully do a lot to give a speed boost to page loading on both the indi and placelist.