[mapguide-users] Re: Viewer API GetLayer() and base layers

Tom Chadwin tom.chadwin at nnpa.org.uk
Wed Apr 21 07:15:42 EDT 2010


Well, the following seems to get rid of caching:

header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("cache-control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");

But this seems like overkill. Does anyone have definitive information on
best practice for eliminating caching of xmlhttp requests?

Tom
-- 
View this message in context: http://n2.nabble.com/Viewer-API-GetLayer-and-base-layers-tp4792901p4936353.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list