Hi I have the below script When I use the xml.load method it is always shows Response Code as "200" However the Content expiration is set to 2 days. My Question is how to force the script to use the cached xml file when the file is in the cache? Tested in MSIE 7.0 if(document.all) var xml = new ActiveXObject("Microsoft.XMLDOM"); else var xml = document.implementation.createDocument("", "", null); var xmlObj; function verify() { if (xml.readyState != 4) return false; } function loadXML() { xml.async=false; xml.onreadystatechange=verify; xml.load("http://"+document.location.host+"/xmlstore/test.xml"); } function createDocument() { xmlObj=xml.documentElement; } //loadXML() //createDocument() //alert(xmlObj)
Raj..