Fixed accidental redirects

Sometimes a user would still be redirected to a cached piratebox.lan site after disconnecting from the piratebox wifi. This has something to do with how different browsers interact with the cache-control meta tag. Adding "pragma" and "expires" tags as well as additional "cache-control" contents fixes that.
This commit is contained in:
Gabriel Shahzad committed 2015-07-26 11:24:38 +02:00
1 parent 407f40f9e7
commit d9fa73bbd5
1 file changed
+3 -1
+3 -1
View File
@@ -1,7 +1,9 @@
<html>
<head><title>Redirect...</title>
<meta http-equiv="refresh" content="0;url=http://piratebox.lan/" />
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='cache-control' content='no-cache, no-store, must-revalidate' />
<meta http-equiv='pragma' content='no-cache' />
<meta http-equiv='expires' content='0' />
</head>
<body>
Redirect