Hi, What is the effect of following script? <script language="JavaScript1.2" type="text/javascript"> <!-- if ((navigator.appVersion.substring(0,1) == "5" && navigator.userAgent.indexOf('Gecko') != -1) || navigator.userAgent.search(/Opera/) != -1) { document.write('<META HTTP-EQUIV="pragma" CONTENT="no-cache">'); } // --> </script> Advanced thanks Interval
It appears to set it to not cache the page (must redownload it each time) depending on what browser the user is using. I'm pretty sure it's setting it to cache if they're using Opera and the other one.. I'm not sure. Whatever browser has an appVersion of 5 and uses the word Gecko, which is a lot, though Firefox comes to mind..
Eh? I don't see how this code can help or prevent a search engine from indexing it so yeah it should still index it.