applications/luci-splash: Add cache control
[project/luci.git] / 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"