: [Flashcoders] XML loading. Why file is cached,but script response
is not?
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
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:
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