Yep, like James said, and the easiest way to guarantee a unique value every
time is just to tag on a datetime stamp as your query parameter.

On Fri, Oct 22, 2010 at 12:57 PM, James McGill <[email protected]> wrote:

> To clarify, you need to change the URL in some way to force Google to
> re-fetch the KML file. A common way of doing this is to append a random
> query parameter, which is ignored by your server i.e.
>
> http://foo.com/bar.kml?random=asdjwe2
>
> And to change the value of random each time you fetch the KML. Note that
> you will want to remove this after debugging (unless your KML updates
> frequently), as bypassing the cache will increase the time taken to load a
> KML file, and may result in timeouts.
>
> Regards,
> James
>
> On Sat, Oct 23, 2010 at 3:02 AM, Nathan Raley <[email protected]> wrote:
>
>> Yea, tag on a date time parameter to your file name.
>>
>>
>> On Fri, Oct 22, 2010 at 10:19 AM, [email protected] <
>> [email protected]> wrote:
>>
>>> On Oct 22, 7:57 am, Genti Qirjazi <[email protected]> wrote:
>>> > does it work if i use a handler instead of kml file ???
>>>
>>> What does that mean?
>>> If you generate your content programatically, you will have to deal
>>> with the cache.  The most common way is to add a cache busting
>>> parameter to the URL so it is always different and can't be cached.
>>>
>>>  -- Larry
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Maps JavaScript API v3" group.
>>> To post to this group, send email to
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-maps-js-api-v3%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Maps JavaScript API v3" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-maps-js-api-v3%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to