From: Manuel Munz Date: Sat, 11 Dec 2010 03:38:35 +0000 (+0000) Subject: applications/luci-splash: Add cache control X-Git-Tag: 0.10.0~289 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3f8bc05e5b79db2ec03a7215dfa2d9359619882b;p=oweals%2Fluci.git applications/luci-splash: Add cache control --- 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"