![]() |
|
No Cache - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: No Cache (/showthread.php?tid=929) |
No Cache - JMM - 05.08.2017 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. RE: No Cache - admin - 05.08.2017 What exactly do you want to stop from being cached? RE: No Cache - JMM - 05.08.2017 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. |