From: Steven Barth Date: Wed, 20 Aug 2008 19:04:10 +0000 (+0000) Subject: libs/web: Set Expires-Header X-Git-Tag: 0.8.0~330 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e1ec77d17f262c20d87d3e289a67cd9dc4ba10e;p=oweals%2Fluci.git libs/web: Set Expires-Header --- 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