libs/web: Set Expires-Header

This commit is contained in:
Steven Barth 2008-08-20 19:04:10 +00:00
parent 7590274b21
commit 0e1ec77d17

View file

@ -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