applications/luci-splash: Add cache control
authorManuel Munz <freifunk@somakoma.de>
Sat, 11 Dec 2010 03:38:35 +0000 (03:38 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sat, 11 Dec 2010 03:38:35 +0000 (03:38 +0000)
applications/luci-splash/htdocs/cgi-bin/splash/splash.sh

index c9d614bf10be6630ab103511f6dffd9e75ef2d38..08eba72ac0a1f6905981a4c6ec5b0c4bdc2b1288 100755 (executable)
@@ -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"