Not Cache the WebUI

Signed-off-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
This commit is contained in:
Christian Dresel 2016-05-15 21:27:21 +02:00 committed by Tim Niemeyer
parent 6f4c9cddba
commit 07fa061065
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@ contact="$(uci get -q system.@system[0].contact)"
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= ${HOSTNAME} %></title>
<link href="/style.css" rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
</head>
<body>
<div id="header" style="position: relative;">

View File

@ -18,6 +18,9 @@ HOSTNAME=$(uci get -q 'system.@system[0].hostname')
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= ${HOSTNAME} %></title>
<link href="/style.css" rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
</head>
<body>
<div id="header" style="position: relative;">