libs/web: Set Expires-Header
This commit is contained in:
parent
7590274b21
commit
0e1ec77d17
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue