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 c9d614b..08eba72 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/sh
 #!/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" 
 echo -en "Location: http://$SERVER_ADDR/cgi-bin/luci/splash\r\n\r\n"