Hummm, this is a good idea. I will use it if anybody can tell me if there is a way to force refresh of XML file.
Dominique On 13 mar, 12:49, Andrew Leach <[email protected]> wrote: > On Mar 13, 11:17 am, dommm063 <[email protected]> wrote: > > > > > Is there a way to force browser to load last version of XML file ? > > Yes. > > GDownloadUrl("data.xml?"+Math.random(),...) > > You could also use a date function which is guaranteed to be different > between calls (random numbers aren't random). The purpose of changing > the URL is to defeat the caching mechanism in the browser. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
