[PATCH] Not Cache the WebUI

Tim Niemeyer tim at tn-x.org
Mo Mai 16 14:12:30 CEST 2016


Reviewed und applied.

Danke
Tim

Am Sonntag, den 15.05.2016, 21:27 +0200 schrieb Christian Dresel:
> Signed-off-by: Christian Dresel <fff at 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. at 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. at 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
> 





Mehr Informationen über die Mailingliste franken-dev