Changes

Useful HTML Code Snippets

909 bytes added, 16:15, 13 February 2015
The following lines were added (+) and removed (-):
&nbsp;== A working NoCache hack ==Tell browser not to cache web page you are visiting.  Simply placing the line:  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">in the HTML page HEAD is unreliable.  Browsers are buggy and may ignore the directive.  Use the following two part method, which involves placing 2 lines in the page HEAD and four lines at the end before the final HTML tag.Place this at the top between the <HEAD></HEAD> tags:  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">  <META HTTP-EQUIV="Expires" CONTENT="-1">Please this pseudo head tag set at the bottom after then closing </body> tag and before the closing </HTML> tag:  <HEAD>  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">  <META HTTP-EQUIV="Expires" CONTENT="-1">  </HEAD>And to resolve a final Netscape bug, use this Javascript in the body tag:  onLoad="if ('Navigator' == navigator.appName) document.forms[0].reset();"[[Category:Programming]][[Category:Webdev]]
Bureaucrat, administrator
16,192
edits