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
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
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
3 matches
Mail list logo