Re: [Flashcoders] XML loading. Why file is cached, but script response is not?

2009-04-04 Thread Juan Pablo Califano
By default, most content generated by server side languages don't carry along cache information in the http response header. But you can add them manually, so the client can decide whether to use a cached copy of the resource or request a fresh one. Check this link: http://www.mnot.net/cache_docs

Re: [Flashcoders] XML loading. Why file is cached, but script response is not?

2009-04-04 Thread Paul Andrews
Because the file is a script not static text the results returned by the script could change even though the URL remains the same. Paul - Original Message - From: "Pavel Repkin" To: Sent: Saturday, April 04, 2009 6:55 AM Subject: [Flashcoders] XML loading. Why file is

[Flashcoders] XML loading. Why file is cached, but script response is not?

2009-04-03 Thread Pavel Repkin
Hey! My program loads XML data from the server. I want the data to cache, so the loading happens only once. When I load a simple xml file from the server, the caching works like a charm. But when I load xml from a Perl script response, the cache does not work. The data are being loaded every time