projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7590274
)
libs/web: Set Expires-Header
author
Steven Barth
<steven@midlink.org>
Wed, 20 Aug 2008 19:04:10 +0000
(19:04 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 20 Aug 2008 19:04:10 +0000
(19:04 +0000)
libs/web/luasrc/http.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/http.lua
b/libs/web/luasrc/http.lua
index e26b3b5dbb777adcd5193a35e5044ea1d7ceb0a5..4fa6438653d8154d5ab59ac92b7a0a50aa7a2e91 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