proper cache control in firefox
authorDaniel Kucera <daniel.kucera@gmail.com>
Sat, 17 Sep 2022 05:18:52 +0000 (07:18 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Sep 2022 05:18:52 +0000 (07:18 +0200)
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>
modules/luci-base/root/www/index.html

index bc3c98fe71f01a48946ad8a7b9402f74e771f0b2..d5f7d7209f234d14bc4f33a57ec29e21bf3cb19a 100644 (file)
@@ -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; }