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>
This commit is contained in:
Andre Heider 2023-09-12 20:09:53 +02:00 committed by Paul Donald
parent e2be86c7e6
commit 12378d77ce

View file

@ -5,6 +5,7 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" /> <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/" /> <meta http-equiv="refresh" content="0; URL=cgi-bin/luci/" />
<style type="text/css"> <style type="text/css">
body { background: white; font-family: arial, helvetica, sans-serif; } body { background: white; font-family: arial, helvetica, sans-serif; }