From 3f8bc05e5b79db2ec03a7215dfa2d9359619882b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 11 Dec 2010 03:38:35 +0000 Subject: [PATCH] applications/luci-splash: Add cache control --- applications/luci-splash/htdocs/cgi-bin/splash/splash.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh index c9d614bf1..08eba72ac 100755 --- a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh +++ b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh @@ -1,3 +1,6 @@ #!/bin/sh -echo -en "Status: 302 Moved\r\n" +echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" +echo -en "Pragma: no-cache\r\n" +echo -en "expires: -1\r\n" +echo -en "Status: 307 Temporary Redirect\r\n" echo -en "Location: http://$SERVER_ADDR/cgi-bin/luci/splash\r\n\r\n" -- 2.25.1