summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-09-12 20:09:53 +0200
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-02-17 18:03:31 +0100
commit12378d77cea16c268e980cca33e46df614ce5ecd (patch)
treecd1caff70c3cd78852f7dd7dbb8721074f0425eb /modules/luci-base
parente2be86c7e645f4e1da570c0e0f2df6dfb4ec7d31 (diff)
luci-base: extend Expires directive to prevent caching
Some browsers apparently act on fixed dates only, so add that too. Tested on firefox. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/root/www/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/root/www/index.html b/modules/luci-base/root/www/index.html
index d5f7d7209f..398e6e763c 100644
--- a/modules/luci-base/root/www/index.html
+++ b/modules/luci-base/root/www/index.html
@@ -4,7 +4,8 @@
<head>
<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" />
+ <meta http-equiv="Expires" content="0" />
+ <meta http-equiv="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT" />
<meta http-equiv="refresh" content="0; URL=cgi-bin/luci/" />
<style type="text/css">
body { background: white; font-family: arial, helvetica, sans-serif; }