projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a742e19
)
luci-base: extend Expires directive to prevent caching
author
Andre Heider
<
[email protected]
>
Tue, 12 Sep 2023 18:09:53 +0000
(20:09 +0200)
committer
Paul Donald
<
[email protected]
>
Sat, 17 Feb 2024 17:04:19 +0000
(18:04 +0100)
Some browsers apparently act on fixed dates only, so add that too.
Tested on firefox.
Signed-off-by: Andre Heider <
[email protected]
>
(cherry picked from commit
12378d77cea16c268e980cca33e46df614ce5ecd
)
modules/luci-base/root/www/index.html
patch
|
blob
|
history
diff --git
a/modules/luci-base/root/www/index.html
b/modules/luci-base/root/www/index.html
index d5f7d7209f234d14bc4f33a57ec29e21bf3cb19a..398e6e763c850256deeec2d83fa71002e7b0c3cd 100644
(file)
--- 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; }