From 0e1ec77d17f262c20d87d3e289a67cd9dc4ba10e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 20 Aug 2008 19:04:10 +0000 Subject: [PATCH] libs/web: Set Expires-Header --- libs/web/luasrc/http.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index e26b3b5db..4fa643865 100644 --- 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 -- 2.25.1