applications/luci-splash: Add cache control

This commit is contained in:
Manuel Munz 2010-12-11 03:38:35 +00:00
parent 99b89b182c
commit 3f8bc05e5b

View file

@ -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"