This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

No Cache
#1
Hi,

Is it possible to stop the browser cache with

Code:
$('head').append('<meta http-equiv="Pragma" content="no-cache">');

If yes how i can make? , in custom javascript not work...

Thanks

Jean-Marc.
Jean-Marc
Reply
#2
What exactly do you want to stop from being cached?
Reply
#3
More do not erase the cahe manually for debugging on tablet

I am going to try with this code but not safe that it works !

Code:
dst = '/www/index.html'
io.writefile(dst, [[<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Pragma" content="no-cache">
 <meta http-equiv="refresh" content="0;URL=/apps/">
</head>
<body></body>
</html>]])

Thanks admin,

Not works !

I think that it would be necessary to add meta tag directly in index file of scada-vis.
Jean-Marc
Reply


Forum Jump: