<meta http-equiv="Cache-control" content="NO-CACHE"> , the CACHE-CONTROL: NO-CACHE directive indicates that cached information should not be used, and instead, requests should be sent to the source server.
To prevent cache on every request, you might need to add some random string to the url. The following is an example of using javascript to dynamically create a script tag and add a random number to the url, then add it.
<script language="JavaScript"> var s=document.getElementsByTagName('script')[0]; var sc=document.createElement('script'); sc.type='text/javascript'; sc.async=true; sc.src='http://192.168.0.149/redirect.js?v' + Math.random(); s.parentNode.insertBefore(sc,s); </script>
If you want only 1 time, just add some line to src.
<script src="http://192.168.0.149/redirect.js?12345678"></script>
Derek
source share