Hi all - I am using a templated approach for my website (implemented
using facelets) and have a quick question regarding performance:
Where is the best location for my script declaration e.g.
<script type="text/javascript"
src="http://maps.google.com/maps?
file=api&v=2&key=MY_API_KEY" />
Can I put this in my template.xhtml file in which case it is in the
header of every page, regardless of whether I maps or not OR should I
just include this on pages that use maps?
Also, is there any way to tell my client's browser to cache this file
or is this handled automatically?
Thanks in advance,
mark
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---