projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: Set Expires-Header
[project/luci.git]
/
libs
/
web
/
luasrc
/
http.lua
diff --git
a/libs/web/luasrc/http.lua
b/libs/web/luasrc/http.lua
index
e26b3b5
..
4fa6438
100644
(file)
--- a/
libs/web/luasrc/http.lua
+++ b/
libs/web/luasrc/http.lua
@@
-211,6
+211,7
@@
function write(content, src_err)
end
if not context.headers["cache-control"] then
header("Cache-Control", "no-cache")
+ header("Expires", "0")
end