Hi MC,

See the following message from the Archive. The code is for newer versions of 
tango, so if you have to work with the older version, replace <@HTTPSTATUSCODE> 
<@HTTPREASONPHRASE> with the text 200 OK.

http://www.mail-archive.com/[email protected]/msg10780.html

You could also try adding a random argument value to uniquify the URL. Caches 
are largely based on the entire URL of the content (regardless of it's HTML or 
XML, etc...), so if even a single character in the URL has changed the cache is 
ignored.

Example: /some.taf?random=<@RANDOM>

Or you could use the javascript Math.random() function.

Hope this helps.

Scott,


On Thursday, December 6, 2007 4:37am, MC Tay <[EMAIL PROTECTED]> said:

> Hi:
> 
> Does anyone know how to prevent XML data from caching? Every time I
> change an XML file, I keep getting old data even the browser is refreshed.
> 
> Thanks!
> 
> MC
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> 
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to