summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Kucera <daniel.kucera@gmail.com>2022-09-17 07:18:52 +0200
committerGitHub <noreply@github.com>2022-09-17 07:18:52 +0200
commit34dd31ae9a63c573646cce9f75ca5edf4bc4e82e (patch)
tree7f1a29a182536c18208fa5810ecc74eebb110f9c
parent20ae64edec9797561c8aa61d7e4ce1a39de0b18a (diff)
proper cache control in firefox
Added more meta headers to ensure proper cache control in Firefox. Before this patch, the `/` url hasn't even been requested when opened in Firefox. Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
-rw-r--r--modules/luci-base/root/www/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/root/www/index.html b/modules/luci-base/root/www/index.html
index bc3c98fe71..d5f7d7209f 100644
--- a/modules/luci-base/root/www/index.html
+++ b/modules/luci-base/root/www/index.html
@@ -3,6 +3,8 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<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="refresh" content="0; URL=cgi-bin/luci/" />
<style type="text/css">
body { background: white; font-family: arial, helvetica, sans-serif; }