diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-12-11 03:38:35 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-12-11 03:38:35 +0000 |
commit | 3f8bc05e5b79db2ec03a7215dfa2d9359619882b (patch) | |
tree | c72d79b1e2ffc67fa26f381d3c5022aaef6a4c95 /applications/luci-splash/htdocs | |
parent | 99b89b182c4e754e4927f46e880ac09a1ae62222 (diff) |
applications/luci-splash: Add cache control
Diffstat (limited to 'applications/luci-splash/htdocs')
-rwxr-xr-x | applications/luci-splash/htdocs/cgi-bin/splash/splash.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh index c9d614bf10..08eba72ac0 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" |