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/#IMP-SCRIPT

Cheers
Juan Pablo Califano
2009/4/4 Pavel Repkin <pavel.rep...@gmail.com>

> 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 I call XML.load(...)
> The request URL is simple and does not change over time: "
> http://repkasoft.com/cgi-bin/test/responseCache/provider.pl";
>
>
> Do you know why caching does not work for script response?
> Is it possible to make it work?
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to