Message ID | 1463340441-20018-1-git-send-email-fff@chrisi01.de |
---|---|
State | Accepted, archived |
Commit | 07fa061065d22e6af578633419f68e2075e6fe34 |
Headers | show |
diff --git a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html index fcb047e..afd3b89 100755 --- a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html +++ b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html @@ -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;"> diff --git a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header index 2393ec7..9cb8eec 100755 --- a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header +++ b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header @@ -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;">
Hi, sieht gut aus. Reviewed-by: Jan Kraus <mayosemmel@gmail.com> Am Sonntag, den 15.05.2016, 21:27 +0200 schrieb Christian Dresel: > Signed-off-by: Christian Dresel <fff@chrisi01.de> > --- > src/packages/fff/fff-web/files/www/public/cgi-bin/status.html | 3 +++ > src/packages/fff/fff-web/files/www/ssl/cgi-bin/header | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > index fcb047e..afd3b89 100755 > --- a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > +++ b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > @@ -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;"> > diff --git a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > index 2393ec7..9cb8eec 100755 > --- a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > +++ b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > @@ -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;"> > -- > 2.1.4 >
Moin, > + <meta http-equiv="cache-control" content="no-cache"> > + <meta http-equiv="pragma" content="no-cache"> > + <meta http-equiv="expires" content="0"> ich nutze auch dieses Dreigespann, allerdings mit <meta http-equiv="expires" content="1"> das erschien mir nicht so "grenzwertig" und Inhalte für eine Sekunde cachen war (für mich, in der betreffenden Anwendung) auch OK. Andreas
Reviewed und applied. Danke Tim Am Sonntag, den 15.05.2016, 21:27 +0200 schrieb Christian Dresel: > Signed-off-by: Christian Dresel <fff@chrisi01.de> > --- > src/packages/fff/fff-web/files/www/public/cgi-bin/status.html | 3 +++ > src/packages/fff/fff-web/files/www/ssl/cgi-bin/header | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > index fcb047e..afd3b89 100755 > --- a/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > +++ b/src/packages/fff/fff-web/files/www/public/cgi-bin/status.html > @@ -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;"> > diff --git a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > index 2393ec7..9cb8eec 100755 > --- a/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > +++ b/src/packages/fff/fff-web/files/www/ssl/cgi-bin/header > @@ -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;"> > -- > 2.1.4 >
Signed-off-by: Christian Dresel <fff@chrisi01.de> --- src/packages/fff/fff-web/files/www/public/cgi-bin/status.html | 3 +++ src/packages/fff/fff-web/files/www/ssl/cgi-bin/header | 3 +++ 2 files changed, 6 insertions(+)